ColorPickDialog.h
上传用户:zhoushen
上传日期:2022-06-15
资源大小:84k
文件大小:2k
- // ColourPickDlg.h : header file
- //
- #if !defined(AFX_ColourPickDlg_H__D0B758F6_9830_11D1_9C0F_00A0243D1382__INCLUDED_)
- #define AFX_ColourPickDlg_H__D0B758F6_9830_11D1_9C0F_00A0243D1382__INCLUDED_
- #if _MSC_VER >= 1000
- #pragma once
- #endif // _MSC_VER >= 1000
- /////////////////////////////////////////////////////////////////////////////
- // CColourPickDlg dialog
- #include "Resource.h"
- #include "ColourPicker.h"
- class CColorPickDlg : public CDialog
- {
- // Construction
- public:
- CColorPickDlg(COLORREF& colorTxt, COLORREF& colorBk, CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- //{{AFX_DATA(CColourPickDlg)
- enum { IDD = IDD_COLOURPICK_DIALOG };
- CColourPicker m_ColourBox;
- int m_nMode;
- //}}AFX_DATA
- COLORREF m_crColour;
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CColourPickDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- COLORREF& m_ColorTxt;
- COLORREF& m_ColorBk;
-
- // Generated message map functions
- //{{AFX_MSG(CColourPickDlg)
- virtual BOOL OnInitDialog();
- afx_msg void OnModeChange();
- afx_msg void OnTrackColour();
- afx_msg void OnDisable();
- afx_msg void OnChangeEdit();
- //}}AFX_MSG
- afx_msg LONG OnSelEndOK(UINT lParam, LONG wParam);
- afx_msg LONG OnSelEndCancel(UINT lParam, LONG wParam);
- afx_msg LONG OnSelChange(UINT lParam, LONG wParam);
- afx_msg LONG OnCloseUp(UINT lParam, LONG wParam);
- afx_msg LONG OnDropDown(UINT lParam, LONG wParam);
- DECLARE_MESSAGE_MAP()
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_ColourPickDlg_H__D0B758F6_9830_11D1_9C0F_00A0243D1382__INCLUDED_)