testcoollistdlg.h

来自「自绘CCombBox组件,具有combo组件的所有功能」· C头文件 代码 · 共 71 行

H
71
字号
// TestCoolListDlg.h : header file
//

#if !defined(AFX_TESTCOOLLISTDLG_H__42358571_20F0_4117_905C_F63715265E78__INCLUDED_)
#define AFX_TESTCOOLLISTDLG_H__42358571_20F0_4117_905C_F63715265E78__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000

/////////////////////////////////////////////////////////////////////////////
// CTestCoolListDlg dialog
#include "CoolListCtrl.h"



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

// Dialog Data
	//{{AFX_DATA(CTestCoolListDlg)
	enum { IDD = IDD_TESTCOOLLIST_DIALOG };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA

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


//使用列表控件
private:



	CBitmap m_MainBkBmp;
	CBitmap m_ListComboBmp;

	CRect m_TimeAreaRect;

	CCoolListCtrl *m_pTimeArea;


	BOOL m_OnceFlag;
	CDC m_MainBkDC;
	CBitmap *m_pOldMainBmp;

protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CTestCoolListDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_TESTCOOLLISTDLG_H__42358571_20F0_4117_905C_F63715265E78__INCLUDED_)

⌨️ 快捷键说明

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