Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This section contains information about the programming elements used with IP address controls.
Overviews
Topic | Contents |
---|---|
IP Address Controls | An Internet Protocol (IP) address control allows the user to enter an IP address in an easily understood format. |
Macros
Topic | Contents |
---|---|
FIRST_IPADDRESS | Extracts the field 0 value from a packed IP address retrieved with the IPM_GETADDRESS message. |
FOURTH_IPADDRESS | Extracts the field 3 value from a packed IP address retrieved with the IPM_GETADDRESS message. |
MAKEIPADDRESS | Packs four byte-values into a single LPARAM suitable for use with the IPM_SETADDRESS message. |
MAKEIPRANGE | Packs two byte-values into a single LPARAM suitable for use with the IPM_SETRANGE message. |
SECOND_IPADDRESS | Extracts the field 1 value from a packed IP address retrieved with the IPM_GETADDRESS message. |
THIRD_IPADDRESS | Extracts the field 2 value from a packed IP address retrieved with the IPM_GETADDRESS message. |
Messages
Topic | Contents |
---|---|
IPM_CLEARADDRESS | Clears the contents of the IP address control. |
IPM_GETADDRESS | Gets the address values for all four fields in the IP address control. |
IPM_ISBLANK | Determines if all fields in the IP address control are blank. |
IPM_SETADDRESS | Sets the address values for all four fields in the IP address control. |
IPM_SETFOCUS | Sets the keyboard focus to the specified field in the IP address control. All of the text in that field will be selected. |
IPM_SETRANGE | Sets the valid range for the specified field in the IP address control. |
Notifications
Topic | Contents |
---|---|
IPN_FIELDCHANGED | Sent when the user changes a field in the control or moves from one field to another. This notification code is sent in the form of a WM_NOTIFY message. |
Structures
Topic | Contents |
---|---|
NMIPADDRESS | Contains information for the IPN_FIELDCHANGED notification code. |