⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 controltestdlg.h

📁 《VC++ 编程技巧与示例 .rar》各个示例代码绝对可用
💻 H
字号:
// ControlTestDlg.h : header file
//

#if !defined(AFX_CONTROLTESTDLG_H__B9B3F1CC_6C47_11D0_9304_ADD4C4A9E458__INCLUDED_)
#define AFX_CONTROLTESTDLG_H__B9B3F1CC_6C47_11D0_9304_ADD4C4A9E458__INCLUDED_

#include "FilmDlg.h"	// Added by ClassView
#include "ListBoxDlg.h"	// Added by ClassView
#include "ListCtrlDlg.h"	// Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CControlTestDlg dialog

class CControlTestDlg : public CDialog
{
// Construction
public:
	CString m_treeitem;
	CImageList* m_ImageList;
	BOOL m_ImageAdded;
	void initialtree();
	CString m_listitem;
	BOOL m_bUseList;
	CString m_Male;
	CListCtrlDlg m_ListCtrlDlg;
	CFilmDlg m_FilmDlg;
	CControlTestDlg(CWnd* pParent = NULL);	// standard constructor
	~CControlTestDlg();
	CListBoxDlg m_ListBoxDlg;

// Dialog Data
	//{{AFX_DATA(CControlTestDlg)
	enum { IDD = IDD_CONTROLTEST_DIALOG };
	CButton	m_UseList;
	CEdit	m_Name;
	CEdit	m_Age;
	CDateTimeCtrl	m_Date;
	CButton	m_BtnPlay;
	CTreeCtrl	m_Tree;
	CComboBox	m_Career;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CControlTestDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnPlay();
	afx_msg void OnFemale();
	afx_msg void OnMale();
	afx_msg void OnViewInfo();
	afx_msg void OnUselist();
	afx_msg void OnEditchangeCareer();
	afx_msg void OnEditupdateCareer();
	afx_msg void OnSelchangeCareer();
	afx_msg void OnSelchangedTree(NMHDR* pNMHDR, LRESULT* pResult);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_CONTROLTESTDLG_H__B9B3F1CC_6C47_11D0_9304_ADD4C4A9E458__INCLUDED_)

⌨️ 快捷键说明

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