www.pudn.com > TetrisWang.zip > SetKeyDlg.h
#if !defined(AFX_SETKEYDLG_H__5A8FF4A1_160C_11D5_901C_5254AB1BB381__INCLUDED_)
#define AFX_SETKEYDLG_H__5A8FF4A1_160C_11D5_901C_5254AB1BB381__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SetKeyDlg.h : header file
//
#include "PropPage.h"
class CPropPageOperate;
const int nAsciiStart = 33;
const int nAsciiEnd = 127;
/////////////////////////////////////////////////////////////////////////////
// CSetKeyDlg dialog
class CSetKeyDlg : public CDialog
{
// Construction
public:
CSetKeyDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CSetKeyDlg)
enum { IDD = IDD_SETKEYDLG };
CComboBox m_coboKey;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSetKeyDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CSetKeyDlg)
virtual BOOL OnInitDialog();
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
virtual void OnOK();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
CPropPageOperate* m_pParent;
CString m_sTitle;
UINT m_nKeyValue;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SETKEYDLG_H__5A8FF4A1_160C_11D5_901C_5254AB1BB381__INCLUDED_)