manyctrls.h

来自「MFC窗口程序设计源代码。相信大家看得懂。」· C头文件 代码 · 共 74 行

H
74
字号
#if !defined(AFX_MANYCTRLS_H__7598E047_ACEB_4290_9F5B_898D5C80870E__INCLUDED_)
#define AFX_MANYCTRLS_H__7598E047_ACEB_4290_9F5B_898D5C80870E__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ManyCtrls.h : header file
//
#include "..\Progress\NewProgressCtrl.h"
/////////////////////////////////////////////////////////////////////////////
// CManyCtrls dialog
class  CManyCtrls  : public CPropertyPage
{
	DECLARE_DYNCREATE(CManyCtrls)
//Attributes
public:
	int m_ProcessPos;
	CImageList* m_pImageList;
	CFont* m_pMonthFont;
// Construction
public:
	int m_ListBoxCount;
	CManyCtrls();
	~CManyCtrls();

// Dialog Data
	//{{AFX_DATA(CManyCtrls)
	enum { IDD = IDD_MANY_CTRLS };
	CButton	m_Radio;
	CComboBoxEx	m_ComboBoxEx;
	CEdit	m_BuddyEdit;
	CSliderCtrl	m_SliderCtrl;
	CSpinButtonCtrl	m_SpinButtonCtrl;
	CListBox	m_ListBox;
	CComboBox	m_ComboBox;
	CNewProgressCtrl	m_ProgressCtrl;
	CDateTimeCtrl	m_DateTimeCtrl;
	CIPAddressCtrl	m_IPAddressCtrl;
	CAnimateCtrl	m_AnimateCtrl;
	//}}AFX_DATA


// Overrides
	// ClassWizard generate virtual function overrides
	//{{AFX_VIRTUAL(CManyCtrls)
	public:
	virtual BOOL DestroyWindow();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	// Generated message map functions
	//{{AFX_MSG(CManyCtrls)
	virtual BOOL OnInitDialog();
	afx_msg void OnCloseupDatetimepicker1(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnCloseupCombo1();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
	afx_msg void OnRadio1();
	afx_msg void OnRadio3();
	afx_msg void OnDropdownDatetimepicker1(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

};

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

#endif // !defined(AFX_MANYCTRLS_H__7598E047_ACEB_4290_9F5B_898D5C80870E__INCLUDED_)

⌨️ 快捷键说明

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