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


CNetAddressCtrl::CreateEx

Creates a network address control with specified extended styles and attaches it to the current CNetAddressCtrl object.

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

Параметры

Parameter

Description

[in] dwExStyle

A bitwise combination (OR) of extended styles to be applied to the control. For more information, see the dwExStyle parameter of the CreateWindowEx function.

[in] dwStyle

A bitwise combination (OR) 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