📄 setcolor.h
字号:
#if !defined(AFX_SETCOLOR_H__1A59A9A2_6EAC_4C3B_A1C0_8E55F03928F0__INCLUDED_)
#define AFX_SETCOLOR_H__1A59A9A2_6EAC_4C3B_A1C0_8E55F03928F0__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SetColor.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CSetColor dialog
class CSetColor : public CDialog
{
// Construction
public:
int m_R;
int m_G;
int m_B;
void Draw();
CSetColor(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CSetColor)
enum { IDD = IDD_DIALOG1 };
CSliderCtrl m_red;
CSliderCtrl m_green;
CSliderCtrl m_blue;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSetColor)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CSetColor)
afx_msg void OnPaint();
afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
virtual BOOL OnInitDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SETCOLOR_H__1A59A9A2_6EAC_4C3B_A1C0_8E55F03928F0__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -