📄 setcolordlg.h
字号:
#if !defined(AFX_SETCOLORDLG_H__138BA502_C0C2_458C_A8C7_81D46F6FD44F__INCLUDED_)
#define AFX_SETCOLORDLG_H__138BA502_C0C2_458C_A8C7_81D46F6FD44F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SetColorDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// SetColorDlg dialog
class SetColorDlg : public CDialog
{
// Construction
public:
void Draw();
SetColorDlg(CWnd* pParent = NULL); // standard constructor
int m_nBlueValue;
int m_nGreenValue;
int m_nRedValue;
// Dialog Data
//{{AFX_DATA(SetColorDlg)
enum { IDD = IDD_DIALOG3 };
CSliderCtrl m_Red;
CSliderCtrl m_Green;
CSliderCtrl m_Blue;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(SetColorDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(SetColorDlg)
afx_msg void OnPaint();
virtual BOOL OnInitDialog();
afx_msg void OnOutofmemoryBlue(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnCustomdrawBlue(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnCustomdrawRed(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnCustomdrawGreen(NMHDR* pNMHDR, LRESULT* pResult);
virtual void OnOK();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SETCOLORDLG_H__138BA502_C0C2_458C_A8C7_81D46F6FD44F__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -