setcolor.h

来自「自己编的程序大家下载一下很好的希望大家多多提出意见」· C头文件 代码 · 共 55 行

H
55
字号
#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 + =
减小字号Ctrl + -
显示快捷键?