IOleObjectImpl Class
This class implements IUnknown and is the principal interface through which a container communicates with a control.
Important
This class and its members cannot be used in applications that execute in the Windows Runtime.
template<
class T
>
class ATL_NO_VTABLE IOleObjectImpl :
public IOleObject
Parameters
- T
Your class, derived from IOleObjectImpl.
Members
Public Methods
Name |
Description |
---|---|
Establishes an advisory connection with the control. |
|
Changes the control state from running to loaded. |
|
Tells the control to perform one of its enumerated actions. |
|
Tells the control to discard any undo state it is maintaining. |
|
Tells the control to remove its user interface from view. |
|
Runs the control and installs its window, but does not install the control's user interface. |
|
Causes the control to be open-edited in a separate window. |
|
Performs the specified action when the user double-clicks the control. The control defines the action, usually to activate the control in-place. |
|
Shows a newly inserted control to the user. |
|
Activates the control in-place and shows the control's user interface, such as menus and toolbars. |
|
Enumerates the control's advisory connections. |
|
Enumerates actions for the control. |
|
Retrieves the control's client site. |
|
Retrieves data from the Clipboard. The ATL implementation returns E_NOTIMPL. |
|
Retrieves the extent of the control's display area. |
|
Retrieves the status of the control. |
|
Retrieves the control's moniker. The ATL implementation returns E_NOTIMPL. |
|
Retrieves the control's class identifier. |
|
Retrieves the control's user-type name. |
|
Initializes the control from selected data. The ATL implementation returns E_NOTIMPL. |
|
Checks if the control is up to date. The ATL implementation returns S_OK. |
|
Called by DoVerbDiscardUndo after the undo state is discarded. |
|
Called by DoVerbHide after the control is hidden. |
|
Called by DoVerbInPlaceActivate after the control is activated in place. |
|
Called by DoVerbOpen after the control has been opened for editing in a separate window. |
|
Called by DoVerbShow after the control has been made visible. |
|
Called by DoVerbUIActivate after the control's user interface has been activated. |
|
Called by DoVerbDiscardUndo before the undo state is discarded. |
|
Called by DoVerbHide before the control is hidden. |
|
Called by DoVerbInPlaceActivate before the control is activated in place. |
|
Called by DoVerbOpen before the control has been opened for editing in a separate window. |
|
Called by DoVerbShow before the control has been made visible. |
|
Called by DoVerbUIActivate before the control's user interface has been activated. |
|
Tells the control about its client site in the container. |
|
Recommends a color scheme to the control's application, if any. The ATL implementation returns E_NOTIMPL. |
|
Sets the extent of the control's display area. |
|
Tells the control the names of the container application and container document. |
|
Tells the control what its moniker is. The ATL implementation returns E_NOTIMPL. |
|
Deletes an advisory connection with the control. |
|
Updates the control. The ATL implementation returns S_OK. |
Remarks
The IOleObject interface is the principal interface through which a container communicates with a control. Class IOleObjectImpl provides a default implementation of this interface and implements IUnknown by sending information to the dump device in debug builds.
Related Articles ATL Tutorial, Creating an ATL Project
Inheritance Hierarchy
IOleObject
IOleObjectImpl
Requirements
Header: atlctl.h