Freigeben über


COleResizeBar::Create

Creates a child window and associates it with the COleResizeBar object.

virtual BOOL Create(
   CWnd* pParentWnd,
   DWORD dwStyle = WS_CHILD | WS_VISIBLE,
   UINT nID = AFX_IDW_RESIZE_BAR 
);

Parameters

  • pParentWnd
    Pointer to the parent window of the resize bar.

  • dwStyle
    Specifies the window style attributes.

  • nID
    The resize bar's child window ID.

Return Value

Nonzero if the resize bar was created; otherwise 0.

Requirements

Header: afxole.h

See Also

Concepts

COleResizeBar Class

COleResizeBar Members

Hierarchy Chart

CWnd::Create

CControlBar Class