Поделиться через


CNetAddressCtrl::Create

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
);

Параметры

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.

Возвращаемое значение

true if this method is successful; otherwise, false.

Требования

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.

См. также

Основные понятия

CNetAddressCtrl Class

CNetAddressCtrl Members

Hierarchy Chart

CNetAddressCtrl::CreateEx