citydlg.h

来自「里面含有windows编程的课件和相关代码」· C头文件 代码 · 共 53 行

H
53
字号
#if !defined(AFX_CITYDLG_H__49480DAF_3E65_483C_893D_2CF7FBA6F750__INCLUDED_)
#define AFX_CITYDLG_H__49480DAF_3E65_483C_893D_2CF7FBA6F750__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// CityDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CCityDlg dialog

class CCityDlg : public CDialog
{
// Construction
public:
	BOOL IsValidate();
	CCityDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CCityDlg)
	enum { IDD = IDD_CITYZIP };
	CListBox	m_ListBox;
	CString	m_strCity;
	CString	m_strZip;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CCityDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CCityDlg)
	afx_msg void OnButtonAdd();
	afx_msg void OnButtonChange();
	afx_msg void OnSelchangeList1();
	afx_msg void OnDestroy();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CITYDLG_H__49480DAF_3E65_483C_893D_2CF7FBA6F750__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?