Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CToolBarCtrl::GetButtonInfo
Collapse the table of content
Expand the table of content

CToolBarCtrl::GetButtonInfo

Retrieves the information for a button in a toolbar.

BOOL GetButtonInfo(
   int nID,
   TBBUTTONINFO* ptbbi 
) const;

Parameters

nID
The button identifier.
ptbbi
A pointer to a TBBUTTONINFO structure that receives the button information.

Return Value

Nonzero if successful; otherwise zero.

Remarks

This member function implements the behavior of the Win32 message TB_GETBUTTONINFO, as described in the Platform SDK.

See Also

CToolBarCtrl Overview | Class Members | Hierarchy Chart | CToolBarCtrl::SetButtonInfo

Show:
© 2015 Microsoft