Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
A type of control bar that supports resizing of in-place OLE items.
Syntax
class COleResizeBar : public CControlBar
Members
Public Constructors
| Name | Description |
|---|---|
| COleResizeBar::COleResizeBar | Constructs a COleResizeBar object. |
Public Methods
| Name | Description |
|---|---|
| COleResizeBar::Create | Creates and initializes a Windows child window and associates it to the COleResizeBar object. |
Remarks
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.
Inheritance Hierarchy
COleResizeBar
Requirements
Header: afxole.h
COleResizeBar::COleResizeBar
Constructs a COleResizeBar object.
COleResizeBar();
Remarks
Call Create to create the resize bar object.
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.
See also
MFC Sample SUPERPAD
CControlBar Class
Hierarchy Chart
COleServerDoc Class