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

📄 dlg_ttbardlg.h

📁 在本例子中
💻 H
字号:
class CDlg_TTBarDlg : public CDialog
{
// Construction
public:
	CDlg_TTBarDlg(CWnd* pParent = NULL);	// standard constructor
	virtual ~CDlg_TTBarDlg() ; // standard destructor

// Dialog Data
	//{{AFX_DATA(CDlg_TTBarDlg)
	enum { IDD = IDD_DLG_TTBAR_DIALOG };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA

private:
	CToolBarCtrl *m_toolbarCtrl ;
	TBBUTTON btn[5];
	BOOL NotifyFunction( UINT id, NMHDR * pTTTStruct, LRESULT * pResult );
	void SetToolBarPosition(int pos);
	
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDlg_TTBarDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);
	virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
	//}}AFX_VIRTUAL
	
// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CDlg_TTBarDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	virtual void OnOK();
	virtual void OnCancel();
	afx_msg void OnBottom();
	afx_msg void OnTop();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

⌨️ 快捷键说明

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