DateTime_GetRange (Compact 2013)
3/28/2014
This macro retrieves the current minimum and maximum allowable system times for a date and time picker (DTP) control.
Syntax
DWORD DateTime_GetRange(
HWND hwndDT,
LPSYSTEMTIME lpSysTimeArray
);
Parameters
- hwndDT
Handle to a DTP control.
- lpSysTimeArray
Long pointer to a two-element array of SYSTEMTIME structures.
Return Value
Returns a DWORD value that is a combination of GDTR_MIN or GDTR_MAX. The first element of the SYSTEMTIME array contains the minimum allowable time. The second element of the SYSTEMTIME array contains the maximum allowable time.
Requirements
Header |
commctrl.h |
See Also
Reference
Date and Time Picker Controls Macros
DTM_GETRANGE