forked from metin2/client
68 lines
1.8 KiB
C
68 lines
1.8 KiB
C
|
// PageCtrl.h : header file
|
|||
|
//
|
|||
|
// <20><><EFBFBD>Ӱ<EFBFBD><D3B0><EFBFBD><EFBFBD>ڿ<EFBFBD> <20>ʿ<EFBFBD><CABF><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
// <20><><EFBFBD>۱<EFBFBD><DBB1><EFBFBD> (c) 2001 <20>ſ<EFBFBD><C5BF><EFBFBD> (grace77@hanimail.com)
|
|||
|
//
|
|||
|
// <20><> <20><><EFBFBD>α<CEB1><D7B7><EFBFBD> <20><><EFBFBD><EFBFBD> <20>Ǹ<EFBFBD><C7B8><EFBFBD> <20><><EFBFBD>۱<EFBFBD><DBB1>ڿ<EFBFBD><DABF><EFBFBD> <20>ֽ<EFBFBD><D6BD>ϴ<EFBFBD>.
|
|||
|
// <20><><EFBFBD>۱<EFBFBD><DBB1><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>Ǿ<EFBFBD><C7BE><EFBFBD> <20><><EFBFBD>α<CEB1><D7B7><EFBFBD> <20><>ġ/<2F><><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD>.
|
|||
|
|
|||
|
#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_)
|