DTM_GETRANGE (Compact 2013)

3/28/2014

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

See Also

Reference

Date and Time Picker Controls Messages
DateTime_GetRange

Other Resources

SYSTEMTIME