Poznámka:
Přístup k této stránce vyžaduje autorizaci. Můžete se zkusit přihlásit nebo změnit adresáře.
Přístup k této stránce vyžaduje autorizaci. Můžete zkusit změnit adresáře.
Retrieves the minimum and maximum allowable dates set for a month calendar control. You can send this message explicitly or by using the MonthCal_GetRange macro.
Parameters
-
wParam
- Must be zero.
-
lParam
-
Pointer to a two-element array of SYSTEMTIME structures that will receive the date limit information. The minimum limit is set in lprgSysTimeArray[0], and lprgSysTimeArray[1] receives the maximum limit. If either element is set to all zeros, then no corresponding limit is set for the month calendar control. This parameter must be a valid address and cannot be NULL.
Return value
Returns a DWORD that can be zero (no limits are set) or a combination of the following values that specify limit information:
| Return code | Description |
|---|---|
|
A maximum limit is set for the control; lprgSysTimeArray[0] is valid and contains the applicable date information. |
|
A minimum limit is set for the control; lprgSysTimeArray[1] is valid and contains the applicable date information. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client |
Windows Vista [desktop apps only] |
| Minimum supported server |
Windows Server 2003 [desktop apps only] |
| Header |
|