ToolbarButtonGroup
Class offers Origin C-based access to toolbar button group settings used in the Button Groups tab of the Customize Toolbars Dialog Box. It allows toolbar button groups to be created, modified, and deleted.
It is generally used in conjunction with the ToolbarButton class.
In addition, the ToolbarButtonGroupMgr class can be used to install, modify, or remove button groups from Origin.
origin.h
ToolbarButtonGroup()
int Load(LPCSTR pcszFile)
int Save(LPCSTR pcszFile = NULL)
pcszFile
SetFile method
void SetFile(LPCSTR pcszFile) void GetFile(string &strFile) LPCSTR GetFile()
void SetName(LPCSTR pcszName) void GetName(string &strName) LPCSTR GetName()
void SetBmp(LPCSTR pcszBmp) void GetBmp(string &strBmp) LPCSTR GetBmp()
int GetButtonCount()
ToolbarButton *GetButton(UINT nID)
ToolbarButton *GetButtonAt(int i)
int AddButton(int nImgIndex)
int DeleteButton(UINT nID)
int DeleteButtonAt(int i)