CToolBarCtrl::SetButtonStructSize
voidSetButtonStructSize(intnSize**);**
Parameters
nSize
Size, in bytes, of the TBBUTTON structure.
Remarks
Call this function to specify the size of the TBBUTTON structure. If you wanted to store extra data in the TBBUTTON structure, you could either derive a new structure from TBBUTTON, adding the members you needed, or create a new structure that contains a TBBUTTON structure as its first member. You would then call this function to tell the toolbar control the size of the new structure.
See CToolBarCtrl::AddButtons for more information on the TBBUTTON structure.
CToolBarCtrl Overview | Class Members | Hierarchy Chart
See Also CToolBarCtrl::Create, CToolBarCtrl::AddButtons, CToolBarCtrl::InsertButton, CToolBarCtrl::GetButton