CIPAddressCtrl::SetFieldRange
Sets the range in the specified field in the IP Address Control.
void SetFieldRange(
int nField,
BYTE nLower,
BYTE nUpper
);
Parameters
nField
Zero-based field index to which the range will be applied.nLower
A reference to an integer receiving the lower limit of the specified field in this IP Address Control.nUpper
A reference to an integer receiving the upper limit of the specified field in this IP Address Control.
Remarks
This member function implements the behavior of the Win32 message IPM_SETRANGE, as described in the Windows SDK. Use the two parameters, nLower and nUpper, to indicate the lower and upper limits of the field, instead of the wRange parameter used with the Win32 message.
Requirements
Header: afxcmn.h