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

📄 fodroppalettewnd.h

📁 visual c++ 实例编程
💻 H
字号:
// Copyright UCanCode Software Technology Inc, All Rights Reserved
// You can contact us.
// Support@UCanCode.net
// http://www.ucancode.net
/********************************************************************/
#if !defined(AFX_FODROPPALETTEWND_H__25BB50B4_04D9_11D6_A4F2_525400EA266C__INCLUDED_)
#define AFX_FODROPPALETTEWND_H__25BB50B4_04D9_11D6_A4F2_525400EA266C__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CFODropPaletteWnd window

#include "FODropPaletteControl.h"

class CFODropPaletteWnd : public CWnd
{
// Construction
public:
	CFODropPaletteWnd();

// Attributes
public:

	//Create
	BOOL Create(DWORD dwStyle,
		CRect rcPos, 
		CWnd* pParent,
		UINT nID,
		COLORREF crColor,
		BOOL bPopup = FALSE);

// Operations
	//Get ColorControl
	CFODropPaletteControl *GetColorControl()	{ return m_pColorControl; }

protected:

	// The pointer to ColorControl
	CFODropPaletteControl *m_pColorControl;

	// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CFODropPaletteWnd)
	protected:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual void PreSubclassWindow();
	//}}AFX_VIRTUAL

// Implementation
public:

	// Destructor
	virtual ~CFODropPaletteWnd();

	// Generated message map functions
protected:
	//{{AFX_MSG(CFODropPaletteWnd)
	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;
};

/////////////////////////////////////////////////////////////////////////////

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

#endif // !defined(AFX_FODROPPALETTEWND_H__25BB50B4_04D9_11D6_A4F2_525400EA266C__INCLUDED_)

⌨️ 快捷键说明

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