Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the index of a specified CMFCToolBarButton Class object in this toolbar.
int ButtonToIndex(
const CMFCToolBarButton* pButton
) const;
Parameters
- [in] pButton
A pointer to the toolbar button object.
Return Value
Index of pButton in the internal list of toolbar buttons; or -1 if the specified button is not on this toolbar.
Requirements
Header: afxtoolbar.h