DTM_GETRANGE


Retrieves the current minimum and maximum allowable system times for a date and time picker (DTP) control. You can send this message explicitly or use the DateTime_GetRange macro.

DTM_GETRANGE
    wParam = 0;
    lParam = (LPARAM) lpSysTimeArray;

Parameters

lpSysTimeArray
Address of a two-element array of SYSTEMTIME structures.

Return Values

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 if GDTR_MIN is set. The second element of the SYSTEMTIME array contains the maximum allowable time if GDTR_MAX is set.

Requirements

  Version 4.70 and later of Comctl32.dll

  Windows NT/2000: Requires Windows 2000 (or Windows NT 4.0 with Internet Explorer 3.0 and later).
  Windows 95/98: Requires Windows 98 (or Windows 95 with Internet Explorer 3.0 or later).
  Header: Declared in commctrl.h.