Contents Index Topic Contents | ||
Previous Topic: DTM_SETMCFONT Next Topic: DTM_SETSYSTEMTIME |
DTM_SETRANGE
DTM_SETRANGE wParam = (WPARAM) flags; lParam = (LPARAM) lpSysTimeArray;Sets the minimum and maximum allowable system times for a date and time picker (DTP) control. You can send this message explicitly or use the DateTime_SetRange macro.
- Returns nonzero if successful, or zero otherwise.
- flags
- Value specifying which range values are valid. This parameter can be a combination of the following values:
GDTR_MIN The first element in the SYSTEMTIME structure array is valid and will be used to set the minimum allowable system time. GDTR_MAX The second element in the SYSTEMTIME structure array is valid and will be used to set the maximum allowable system time. - lpSysTimeArray
- Address of a two-element array of SYSTEMTIME structures. The first element of the SYSTEMTIME array contains the minimum allowable time. The second element of the SYSTEMTIME array contains the maximum allowable time. It is not necessary to fill an array element that is not specified in the flags parameter.
Version 4.70
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.