📄 custdlg.h
字号:
// CustDlg.h : header file
//
/*
* This sample application and corresponding sample code is provided for
* example purposes only. It has not undergone rigorous testing and as
* such should not be shipped as part of a final application without
* extensive testing on the part of the organization releasing the
* end-user product.
*/
/////////////////////////////////////////////////////////////////////////////
// CCustDlg dialog
#include "Mapx.h"
class CCustDlg : public CDialog
{
// Construction
public:
long custFtrID;
CMapX* m_pMap;
CString* m_pZip;
CString* m_pTerr;
CString* m_pState;
CString* m_pFname;
CString* m_pCompany;
CString* m_pCity;
CString* m_pAmt;
CString* m_pLname;
CCustDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CCustDlg)
enum { IDD = IDD_CUSTDLG };
CString m_City;
CString m_Company;
CString m_Fname;
CString m_State;
CString m_Terr;
CString m_Zip;
CString m_Lname;
CString m_Amt;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCustDlg)
public:
virtual void OnFinalRelease();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
void EnableOK(bool Enable);
// Generated message map functions
//{{AFX_MSG(CCustDlg)
virtual void OnOK();
virtual BOOL OnInitDialog();
afx_msg void OnChangeFname();
afx_msg void OnChangeLname();
afx_msg void OnChangeCity();
afx_msg void OnChangeState();
afx_msg void OnChangeZip();
afx_msg void OnChangeTerr();
afx_msg void OnChangeCompany();
afx_msg void OnChangeAmount();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
// Generated OLE dispatch map functions
//{{AFX_DISPATCH(CCustDlg)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_DISPATCH
DECLARE_DISPATCH_MAP()
DECLARE_INTERFACE_MAP()
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -