📄 colordlg.h
字号:
// ColorDlg.h : header file
//
#ifndef COLORDLG_H
#define COLORDLG_H
#include "XColourPicker.h"
/////////////////////////////////////////////////////////////////////////////
// CColorDlg dialog
class CColorDlg : public CDialog
{
// Construction
public:
CColorDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CColorDlg)
enum { IDD = IDD_COLORS };
CXColourPicker m_btnTextColor;
CXColourPicker m_btnBackgroundColor;
//}}AFX_DATA
COLORREF m_rgbText;
COLORREF m_rgbBackground;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CColorDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CColorDlg)
virtual BOOL OnInitDialog();
virtual void OnOK();
virtual void OnCancel();
afx_msg void OnResetColors();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif //COLORDLG_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -