Contents Index Topic Contents | ||
Previous Topic: IPM_SETFOCUS Next Topic: Notifications |
IPM_SETRANGE
IPM_SETRANGE wParam = (WPARAM)nField; lParam = (LPARAM)(WORD)wRange;Sets the valid range for the specified field in the IP address control.
- Returns nonzero if successful, or zero otherwise.
- nField
- Zero-based field index to which the range will be applied.
- wRange
- WORD value that contains the lower limit of the range in the low-order byte and the upper limit in the high-order byte. Both of these values are inclusive. The MAKEIPRANGE macro can also be used to create the range.
If the user enters a value in the field that is outside of this range, the control will send the IPN_FIELDCHANGED notification with the entered value. If the value is still outside of the range after sending the notification, the control will attempt to change the entered value to the closest range limit.
Version 4.71
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.