Files
envi-code/SourceCode/Code2026/tg_shs/shs_blklib/XToolBarCtrl.h
T
2026-09-28 15:28:50 +08:00

56 lines
1.4 KiB
C++

#if !defined(AFX_XTOOLBARCTRL_H__05A48057_5A32_4401_BC32_77E41B425A1F__INCLUDED_)
#define AFX_XTOOLBARCTRL_H__05A48057_5A32_4401_BC32_77E41B425A1F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// XToolBarCtrl.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// XToolBarCtrl window
class CGJKWorkspace;
class XToolBarCtrl : public CToolBarCtrl
{
// Construction
public:
XToolBarCtrl();
// Attributes
public:
CComboBox *m_pComboxCtrl;
BOOL m_bIsGJK;
CGJKWorkspace *m_pGjk;
CString m_sCurSelect;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(XToolBarCtrl)
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~XToolBarCtrl();
void InitToolBar(int ButtonID[], int len, int ResID, CWnd* pParent);
void SetStyle(int ButtonID, BYTE style);
// Generated message map functions
protected:
//{{AFX_MSG(XToolBarCtrl)
afx_msg void OnDestroy();
//}}AFX_MSG
afx_msg BOOL OnToolTipText(UINT nID, NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnSelchangeCombo();
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_XTOOLBARCTRL_H__05A48057_5A32_4401_BC32_77E41B425A1F__INCLUDED_)