📄 colordlg.h
字号:
// 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -