// PageCtrl.h : header file // // °ÔÀÓ°³¹ßÀÚ¿ë ¸Ê¿¡µðÅÍ // ÀúÀÛ±ÇÀÚ (c) 2001 ½Å¿ë¿ì (grace77@hanimail.com) // // ÀÌ ÇÁ·Î±×·¥ÀÇ ¸ðµç ±Ç¸®´Â ÀúÀÛ±ÇÀÚ¿¡°Ô ÀÖ½À´Ï´Ù. // ÀúÀÛ±ÇÀÚÀÇ µ¿ÀǾøÀÌ ÇÁ·Î±×·¥À» ¼³Ä¡/»ç¿ë/¼öÁ¤/¹èÆ÷ÇÒ ¼ö ¾ø½À´Ï´Ù. #if !defined(AFX_PAGECTRL_H__E5A7FC20_2B95_11D4_B73E_004F4C02CAF7__INCLUDED_) #define AFX_PAGECTRL_H__E5A7FC20_2B95_11D4_B73E_004F4C02CAF7__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 ///////////////////////////////////////////////////////////////////////////// // CPageCtrl dialog class CPageCtrl : public CDialog { // Construction public: virtual void UpdateUI() = 0; virtual void OnCancel(); virtual void OnOK(); void CalcLayout(); BOOL EnableWindow(BOOL bEnable = TRUE); CPageCtrl(UINT nIDTemplate, CWnd* pParent = NULL); // standard constructor // Dialog Data //{{AFX_DATA(CPageCtrl) enum { IDD = 0 }; // NOTE: the ClassWizard will add data members here //}}AFX_DATA // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CPageCtrl) public: protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: CPoint m_pt; int m_nScrollPos; // Generated message map functions //{{AFX_MSG(CPageCtrl) afx_msg void OnLButtonDown(UINT nFlags, CPoint point); afx_msg void OnLButtonUp(UINT nFlags, CPoint point); afx_msg void OnMouseMove(UINT nFlags, CPoint point); afx_msg BOOL OnMouseWheel(UINT nFlags, short zDelta, CPoint pt); afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_PAGECTRL_H__E5A7FC20_2B95_11D4_B73E_004F4C02CAF7__INCLUDED_)