⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ppccolorconfigdlg.h

📁 在evc上开发的例子程序
💻 H
字号:

#ifndef __CPPCCOLORCONFIGDLG__
#define __CPPCCOLORCONFIGDLG__

#define OPTION_VECTOR_SIZE 29
#define BUFFER_SIZE 116

class CPPCColorConfigDlg : public CDialog
{
	public:
		CPPCColorConfigDlg(CWnd* pParent = NULL);	// standard constructor

		enum { IDD = IDD_PPCCOLORCONFIG_DIALOG };

	protected:
			HICON m_hIcon;

		virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
		virtual BOOL OnInitDialog();
		virtual void OnSelectOption();
		virtual void OnColorChange();
		virtual void OnPaint();
		virtual void OnUpdateSettings();

	private:
		void FillColorOptions();
		void InitVectors();
		void DisplayDescription();
		void UpdateRegistry();
		void ResetRegistry();
		void ParseItemColors(int* pRed, int* pGreen, int* pBlue);
		void SetColorsInBoxes(int iRed, int iGreen, int iBlue);

		int m_iSelected;
		int m_iRed;
		int m_iGreen;
		int m_iBlue;
		BYTE m_pNewBuffer[BUFFER_SIZE];
		BYTE m_pOldBuffer[BUFFER_SIZE];

		DECLARE_MESSAGE_MAP()
};

#endif 

⌨️ 快捷键说明

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