Contents Index Topic Contents | ||
Previous Topic: DateTime_GetRange Next Topic: DateTime_SetFormat |
DateTime_GetSystemtime
DWORD DateTime_GetSystemtime( HWND hwndDP, LPSYSTEMTIME lpSysTime);Retrieves the currently selected time from a date and time picker (DTP) control and places it in a specified SYSTEMTIME structure. You can use this macro, or send the DTM_GETSYSTEMTIME message explicitly.
- Returns a DWORD value that equals GDT_VALID if the time information was successfully placed in the given structure; or the message can return GDT_NONE if the control was set to the DTS_SHOWNONE style and the control check box was not selected.
- hwndDP
- Handle to a DTP control.
- lpSysTime
- Address of the SYSTEMTIME structure that receives the system time information.
Version 4.70
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.