root/RulerView.h
/* [<][>][^][v][top][bottom][index][help] */
DEFINITIONS
This source file includes following definitions.
- CRulerView
#if !defined(AFX_RULERVIEW_H__56AFA86C_3028_4941_8EB5_0F02029964CF__INCLUDED_)
#define AFX_RULERVIEW_H__56AFA86C_3028_4941_8EB5_0F02029964CF__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// RulerView.h : ヘッダー ファイル
//
/////////////////////////////////////////////////////////////////////////////
// CRulerView ビュー
class CRulerView : public CRichEditView
{
protected:
CRulerView(); // 動的生成に使用されるプロテクト コンストラクタ
DECLARE_DYNCREATE(CRulerView)
// アトリビュート
public:
// オペレーション
public:
void SetRulerSel(int p);
// オーバーライド
// ClassWizard は仮想関数のオーバーライドを生成します。
//{{AFX_VIRTUAL(CRulerView)
public:
virtual void OnInitialUpdate();
protected:
virtual void OnDraw(CDC* pDC); // このビューを描画するためにオーバーライドしました。
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
//}}AFX_VIRTUAL
// インプリメンテーション
protected:
virtual ~CRulerView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// 生成されたメッセージ マップ関数
protected:
//{{AFX_MSG(CRulerView)
afx_msg void OnSetFocus(CWnd* pOldWnd);
afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
afx_msg void OnRButtonDblClk(UINT nFlags, CPoint point);
afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
afx_msg void OnRButtonUp(UINT nFlags, CPoint point);
afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
afx_msg void OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags);
afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
afx_msg void OnCancelMode();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
int m_font_size;
// void HScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ は前行の直前に追加の宣言を挿入します。
#endif // !defined(AFX_RULERVIEW_H__56AFA86C_3028_4941_8EB5_0F02029964CF__INCLUDED_)