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

📄 tlbarpg.h

📁 The programs and applications on this disk have been carefully tested, but are not guaranteed for
💻 H
字号:
#if !defined TOOLBARPAGE_H
#define TOOLBARPAGE_H

// TlBarPg.h : header file
//

#include "WzdPrjct.h"

/////////////////////////////////////////////////////////////////////////////
// CToolBarPage dialog

class CToolBarPage : public CPropertyPage
{
	DECLARE_DYNCREATE(CToolBarPage)

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

// Dialog Data
	//{{AFX_DATA(CToolBarPage)
	enum { IDD = IDD_TOOLBAR_PAGE };
	//}}AFX_DATA

// Overrides
	// ClassWizard generate virtual function overrides
	//{{AFX_VIRTUAL(CToolBarPage)
	public:
	virtual BOOL OnSetActive();
	virtual BOOL OnKillActive();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	// Generated message map functions
	//{{AFX_MSG(CToolBarPage)
	virtual BOOL OnInitDialog();
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnPaint();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	CToolBar	m_ToolBar;
	CBitmap		m_bitmap;
	int			m_xBitmapStart;
	int			m_yBitmapStart;
	int			m_nButtonCount;

	BOOL		m_bMoving;
	int			m_nButtonMoved;
	TBBUTTON	m_tbbutton;
	HICON		m_hMoveCursor;
	CToolBar	*m_pToolBar;
	CToolBar 	*GetToolBar(CPoint point);
	int 		GetButtonIndex(CToolBar *pToolBar, CPoint point);
	void 		UpdateToolBar(CToolBar *pToolBar);
	BOOL 		GetToolBarNear(CPoint &point,UINT &nMode,BOOL &bHorz);

};

#endif 

⌨️ 快捷键说明

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