Creates a network address control with specified styles and attaches it to the current CNetAddressCtrl object.
virtual BOOL Create(
                DWORD dwStyle, 
                const RECT& rect, 
                CWnd* pParentWnd, 
                UINT nID
);
Parameters
| Parameter | Description | 
|---|---|
| [in] dwStyle | A bitwise combination of styles to be applied to the control. For more information, see Edit Styles. | 
| [in] rect | A reference to a RECT structure that contains the position and size of the control. | 
| [in] pParentWnd | A non-null pointer to a CWnd object that is the parent window of the control. | 
| [in] nID | The ID of the control. | 
Return Value
true if this method is successful; otherwise, false.
Requirements
Header: afxcmn.h
This method is supported in Windows Vista and later.
Additional requirements for this method are described in Build Requirements for Windows Vista Common Controls.