citydlg.h

来自「郑阿齐VC教材」· C头文件 代码 · 共 53 行

H
53
字号
#if !defined(AFX_CITYDLG_H__095C8DBF_E987_4A70_A932_1DCE83C5DA75__INCLUDED_)
#define AFX_CITYDLG_H__095C8DBF_E987_4A70_A932_1DCE83C5DA75__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;
	DWORD	m_dwZipCode;
	//}}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 OnSelchangeList1();
	afx_msg void OnButtonDel();
	virtual BOOL OnInitDialog();
	//}}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__095C8DBF_E987_4A70_A932_1DCE83C5DA75__INCLUDED_)

⌨️ 快捷键说明

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