📄 fodropcolorpalettewnd.h
字号:
// Copyright UCanCode Software Technology Inc, All Rights Reserved
// You can contact us.
// Support@UCanCode.net
// http://www.ucancode.net
/********************************************************************/
// FODropColorPaletteWnd.h: interface for the CFODropColorPaletteWnd class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_FODROPCOLORPALETTEWND_H__526F9B94_F5BB_11D5_A4D3_525400EA266C__INCLUDED_)
#define AFX_FODROPCOLORPALETTEWND_H__526F9B94_F5BB_11D5_A4D3_525400EA266C__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "FODropColorPaletteControl.h"
class CFODropColorPaletteWnd : public CWnd
{
// Construction
public:
CFODropColorPaletteWnd();
// Attributes
public:
//Create
BOOL Create(DWORD dwStyle,
CRect rcPos,
CWnd* pParent,
UINT nID,
COLORREF crColor,
BOOL bPopup = FALSE);
// Operations
//Get ColorControl
CFODropColorPaletteControl *GetColorControl() { return m_pColorControl; }
protected:
// The pointer to ColorControl
CFODropColorPaletteControl *m_pColorControl;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CFODropColorPaletteWnd)
protected:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
virtual void PreSubclassWindow();
//}}AFX_VIRTUAL
// Implementation
public:
// Destructor
virtual ~CFODropColorPaletteWnd();
// Generated message map functions
protected:
//{{AFX_MSG(CFODropColorPaletteWnd)
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
afx_msg void OnMButtonDblClk(UINT nFlags, CPoint point);
afx_msg void OnMButtonDown(UINT nFlags, CPoint point);
afx_msg void OnMButtonUp(UINT nFlags, CPoint point);
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
afx_msg void OnDestroy();
afx_msg void OnPaint();
afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
afx_msg void OnRButtonUp(UINT nFlags, CPoint point);
afx_msg void OnCancelMode();
afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnSysColorChange();
afx_msg UINT OnGetDlgCode();
//}}AFX_MSG
afx_msg LONG OnSelectDayOK(UINT wParam, LONG lParam);
afx_msg LONG OnSelectDayCancel(UINT wParam, LONG lParam);
afx_msg LONG OnSelectCustom(UINT wParam, LONG lParam);
DECLARE_MESSAGE_MAP()
protected:
// The pointer to Notify Window
CWnd *pNotifyWnd;
};
#endif // !defined(AFX_FODROPCOLORPALETTEWND_H__526F9B94_F5BB_11D5_A4D3_525400EA266C__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -