| description | Learn more about: COleResizeBar Class | ||||
|---|---|---|---|---|---|
| title | COleResizeBar Class | ||||
| ms.date | 11/04/2016 | ||||
| f1_keywords |
|
||||
| helpviewer_keywords |
|
||||
| ms.assetid | 56a708d9-28c5-4eb0-9404-77b688d91c63 |
A type of control bar that supports resizing of in-place OLE items.
class COleResizeBar : public CControlBar
| Name | Description |
|---|---|
| COleResizeBar::COleResizeBar | Constructs a COleResizeBar object. |
| Name | Description |
|---|---|
| COleResizeBar::Create | Creates 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.
COleResizeBar
Header: afxole.h
Constructs a COleResizeBar object.
COleResizeBar();
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);
pParentWnd
Pointer to the parent window of the resize bar.
dwStyle
Specifies the window style attributes.
nID
The resize bar's child window ID.
Nonzero if the resize bar was created; otherwise 0.
MFC Sample SUPERPAD
CControlBar Class
Hierarchy Chart
COleServerDoc Class