Export (0) Print
Expand All

CIPAddressCtrl Class

Provides the functionality of the Windows common IP Address control.

class CIPAddressCtrl : public CWnd

Name

Description

CIPAddressCtrl::CIPAddressCtrl

Constructs a CIPAddressCtrl object.

Name

Description

CIPAddressCtrl::ClearAddress

Clears the contents of the IP Address Control.

CIPAddressCtrl::Create

Creates an IP Address Control and attaches it to a CIPAddressCtrl object.

CIPAddressCtrl::CreateEx

Creates an IP Address control with the specified Windows extended styles and attaches it to a CIPAddressCtrl object.

CIPAddressCtrl::GetAddress

Retrieves the address values for all four fields in the IP Address Control.

CIPAddressCtrl::IsBlank

Determines if all fields in the IP Address Control are empty.

CIPAddressCtrl::SetAddress

Sets the address values for all four fields in the IP Address Control.

CIPAddressCtrl::SetFieldFocus

Sets the keyboard focus to the specified field in the IP Address Control.

CIPAddressCtrl::SetFieldRange

Sets the range in the specified field in the IP Address Control.

An IP Address control, a control similar to an edit control, allows you to enter and manipulate a numerical address in Internet Protocol (IP) format.

This control (and therefore the CIPAddressCtrl class) is available only to programs running under Microsoft Internet Explorer 4.0 and later. They will also be available under future versions of Windows and Windows NT.

For more general information about the IP Address Control, see IP Address Controls in the Windows SDK.

Header: afxcmn.h

Show:
© 2014 Microsoft