CMFCToolBarEditBoxButton::GetByCmd
Retrieves the first CMFCToolBarEditBoxButton object in the application that has the specified command ID.
static CMFCToolBarEditBoxButton* __stdcall GetByCmd(
UINT uiCmd
);
Parameters
- [in] uiCmd
The command ID of the button to retrieve.
Return Value
The first CMFCToolBarEditBoxButton object in the application that has the specified command ID, or NULL if no such object exists.
Remarks
This shared utility method is used by methods such as CMFCToolBarEditBoxButton::SetContentsAll and CMFCToolBarEditBoxButton::GetContentsAll to set or get the text of the first edit box toolbar control that has the specified command ID.
Requirements
Header: afxtoolbareditboxbutton.h
See Also
Reference
CMFCToolBarEditBoxButton Class