DTM_GETRANGE
A version of this page is also available for
4/8/2010
This message retrieves the current minimum and maximum allowable system times for a date and time picker (DTP) control.
Syntax
DTM_GETRANGE wParam = 0;
lParam = (LPARAM) lpSysTimeArray;
Parameters
- wParam
Not used.
- 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.
Remarks
The first element of the SYSTEMTIME array contains the minimum allowable time if GDTR_MIN is set. The second element of the SYSTEMTIME array contains the maximum allowable time if GDTR_MAX is set.
Requirements
Header | commctrl.h |
Windows Embedded CE | Windows CE 2.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |