The DDX_IPAddress function manages the transfer of data between an IP Address control and a data member of the control view object.
void AFXAPI DDX_IPAddress(
A pointer to a CDataExchange object. The framework supplies this object to establish the context of the data exchange, including its direction.
The resource ID of the IP Address control associated with the control property.
A reference to the DWORD containing the four-field value of the IP Address control. The fields are filled or read as follows.
Bits containing the field value
0 through 7
8 through 15
16 through 23
24 through 31
Use the Win32 IPM_GETADDRESS to read the value, or use IPM_SETADDRESS to fill the value. These messages are described in the Windows SDK.
When DDX_IPAddress is called, value is either read from the IP Address control, or value is written to the control, depending on the direction of the exchange.
For more information about DDX, see Dialog Data Exchange and Validation.