colordlg.h

来自「wince下自定义按钮图片和DLG背景!」· C头文件 代码 · 共 56 行

H
56
字号
// ColorDlg.h : header file
//

#if !defined(AFX_COLORDLG_H__A01AA8B9_97CD_4801_8119_51AD45850B32__INCLUDED_)
#define AFX_COLORDLG_H__A01AA8B9_97CD_4801_8119_51AD45850B32__INCLUDED_
#include "ColorStatic.h"
#include "ColorButton.h"
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000

/////////////////////////////////////////////////////////////////////////////
// CColorDlg dialog

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

// Dialog Data
	//{{AFX_DATA(CColorDlg)
	enum { IDD = IDD_COLOR_DIALOG };
	CBitmapButton	m_HomeBtn;
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CColorDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	//}}AFX_VIRTUAL
public:
	HBITMAP m_BITMAP;
	CBitmap m_bmpBackground;
	CColorButton m_ColorBtn1;
	CColorStatic m_Static1;
	BOOL m_bEnable;
// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CColorDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_COLORDLG_H__A01AA8B9_97CD_4801_8119_51AD45850B32__INCLUDED_)

⌨️ 快捷键说明

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