CIPAddressCtrl::Create

BOOL Create( DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID );

Return Value

Nonzero if initialization was successful; otherwise 0.

Parameters

dwStyle

The IP Address Control’s style. Apply a combination of window styles. You must include the WS_CHILD style because the control must be a child window.

rect

A reference to the IP Address Control’s size and position. It can be either a CRect object or a RECT structure.

pParentWnd

A pointer to the IP Address Control’s parent window. It must not be NULL.

nID

The IP Address Control’s ID.

Remarks

You construct a CIPAddressCtrl object in two steps.

  1. Call the constructor, which creates the CIPAddressCtrl object.

  2. Call Create, which creates the IP Address Control.

CIPAddressCtrl OverviewClass MembersHierarchy Chart

See Also   CIPAddressCtrl::CIPAddressCtrl