Condividi tramite


CToolTipCtrl::CreateEx

Creates a control (a child window) and associate it with the CToolTipCtrl object.

virtual BOOL CreateEx( 
   CWnd* pParentWnd, 
   DWORD dwStyle = 0, 
   DWORD dwStyleEx = 0  
);

Parameters

  • pParentWnd
    A pointer to the window that is the control's parent.

  • dwStyle
    Specifies the tool tip control's style. See the Remarks section of Create for more information.

  • dwStyleEx
    Specifies the extended style of the control being created. For a list of extended Windows styles, see the dwExStyle parameter for CreateWindowEx in the Windows SDK.

Return Value

Nonzero if successful otherwise 0.

Remarks

Use CreateEx instead of Create to apply extended Windows styles, specified by the Windows extended style preface WS_EX_.

Requirements

Header: afxcmn.h

See Also

Reference

CStatusBarCtrl Class

Hierarchy Chart

CToolTipCtrl::CToolTipCtrl