COleResizeBar Class

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at COleResizeBar Class.

A type of control bar that supports resizing of in-place OLE items.

class COleResizeBar : public CControlBar  

Public Constructors

NameDescription
COleResizeBar::COleResizeBarConstructs a COleResizeBar object.

Public Methods

NameDescription
COleResizeBar::CreateCreates and initializes a Windows child window and associates it to the COleResizeBar object.

COleResizeBar objects appear as a CRectTracker with a hatched border and outer resize handles.

COleResizeBar objects are usually embedded members of frame-window objects derived from the COleIPFrameWnd class.

For more information, see the article Activation.

CObject

CCmdTarget

CWnd

CControlBar

COleResizeBar

Header: afxole.h

Constructs a COleResizeBar object.

COleResizeBar();

Remarks

Call Create to create the resize bar object.

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.

MFC Sample SUPERPAD
CControlBar Class
Hierarchy Chart
COleServerDoc Class

Show: