coloroptions.h

来自「vc++6.0开发网络典型应用实例导航 1. 本光盘提供了本书中所有的实例源」· C头文件 代码 · 共 66 行

H
66
字号
#if !defined(AFX_COLOROPTIONS_H__2EFDCBFD_FF8A_46A1_ACA3_59A1859E674E__INCLUDED_)
#define AFX_COLOROPTIONS_H__2EFDCBFD_FF8A_46A1_ACA3_59A1859E674E__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ColorOptions.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CColorOptions dialog

class CColorOptions : public CPropertyPage
{
	DECLARE_DYNCREATE(CColorOptions)

// Construction
public:
	CColorOptions();
	~CColorOptions();

// Dialog Data
	//{{AFX_DATA(CColorOptions)
	enum { IDD = IDD_COLOR_OPTIONS };
		// NOTE - ClassWizard will add data members here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_DATA

	COLORREF crNotifyText;
	COLORREF crNormalText;
	COLORREF crLineFrames;
	COLORREF crDisabled;
	COLORREF crLightItems;
	COLORREF crBtnBack;
	COLORREF crBtnActive;
	COLORREF crBtnOver;

	COLORREF MyChooseColor(COLORREF);
// Overrides
	// ClassWizard generate virtual function overrides
	//{{AFX_VIRTUAL(CColorOptions)
	public:
	virtual BOOL OnApply();
	virtual void OnOK();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	// Generated message map functions
	//{{AFX_MSG(CColorOptions)
	afx_msg void OnPaint();
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnRestoredefault();
	afx_msg void OnGetwincolors();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_COLOROPTIONS_H__2EFDCBFD_FF8A_46A1_ACA3_59A1859E674E__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?