Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Retrieves the first CMFCToolBarDateTimeCtrl object in the application that has the specified command ID.
static CMFCToolBarDateTimeCtrl* __stdcall GetByCmd(
UINT uiCmd
);
Parameters
- [in] uiCmd
The command ID of the button to retrieve.
Return Value
The first CMFCToolBarDateTimeCtrl object in the application that has the specified command ID, or NULL if no CMFCToolBarDateTimeCtrl objects have the specified command ID.
Remarks
This shared utility method is used by methods such as CMFCToolBarDateTimeCtrl::SetTimeAll and CMFCToolBarDateTimeCtrl::GetTimeAll to set or get the time and date of all instances of the time picker control that have a specified command ID.
Requirements
Header: afxtoolbardatetimectrl.h