Export (0) Print
Expand All

IP Address Control

This section contains information about the programming elements used with IP address controls.

Overviews

TopicContents
IP Address Controls

An Internet Protocol (IP) address control allows the user to enter an IP address in an easily understood format.

 

Macros

TopicContents
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

TopicContents
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

TopicContents
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

TopicContents
NMIPADDRESS

Contains information for the IPN_FIELDCHANGED notification code.

 

 

 

Community Additions

ADD
Show:
© 2014 Microsoft