CIPAddressCtrl::SetFieldRange

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 Platform 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.

CIPAddressCtrl OverviewClass MembersHierarchy Chart

See Also   CIPAddressCtrl::SetFieldFocus