Dela via


IOleObjectImpl Members

IOleObject Methods

Advise

Establishes an advisory connection with the control.

Close

Changes the control state from running to loaded.

DoVerb

Tells the control to perform one of its enumerated actions.

EnumAdvise

Enumerates the control's advisory connections.

EnumVerbs

Enumerates actions for the control.

GetClientSite

Retrieves the control's client site.

GetClipboardData

Retrieves data from the Clipboard. The ATL implementation returns E_NOTIMPL.

GetExtent

Retrieves the extent of the control's display area.

GetMiscStatus

Retrieves the status of the control.

GetMoniker

Retrieves the control's moniker. The ATL implementation returns E_NOTIMPL.

GetUserClassID

Retrieves the control's class identifier.

GetUserType

Retrieves the control's user-type name.

InitFromData

Initializes the control from selected data. The ATL implementation returns E_NOTIMPL.

IsUpToDate

Checks if the control is up to date. The ATL implementation returns S_OK.

SetClientSite

Tells the control about its client site in the container.

SetColorScheme

Recommends a color scheme to the control's application, if any. The ATL implementation returns E_NOTIMPL.

SetExtent

Sets the extent of the control's display area.

SetHostNames

Tells the control the names of the container application and container document.

SetMoniker

Tells the control what its moniker is. The ATL implementation returns E_NOTIMPL.

Unadvise

Deletes an advisory connection with the control.

Update

Updates the control. The ATL implementation returns S_OK.

DoVerb Helper Methods

DoVerbDiscardUndo

Tells the control to discard any undo state it is maintaining.

DoVerbHide

Tells the control to remove its user interface from view.

DoVerbInPlaceActivate

Runs the control and installs its window, but does not install the control's user interface.

DoVerbOpen

Causes the control to be open-edited in a separate window.

DoVerbPrimary

Performs the specified action when the user double-clicks the control. The control defines the action, usually to activate the control in-place.

DoVerbShow

Shows a newly inserted control to the user.

DoVerbUIActivate

Activates the control in-place and shows the control's user interface, such as menus and toolbars.

OnPostVerbDiscardUndo

Called by DoVerbDiscardUndo after the undo state is discarded.

OnPostVerbHide

Called by DoVerbHide after the control is hidden.

OnPostVerbInPlaceActivate

Called by DoVerbInPlaceActivate after the control is activated in place.

OnPostVerbOpen

Called by DoVerbOpen after the control has been opened for editing in a separate window.

OnPostVerbShow

Called by DoVerbShow after the control has been made visible.

OnPostVerbUIActivate

Called by DoVerbUIActivate after the control's user interface has been activated.

OnPreVerbDiscardUndo

Called by DoVerbDiscardUndo before the undo state is discarded.

OnPreVerbHide

Called by DoVerbHide before the control is hidden.

OnPreVerbInPlaceActivate

Called by DoVerbInPlaceActivate before the control is activated in place.

OnPreVerbOpen

Called by DoVerbOpen before the control has been opened for editing in a separate window.

OnPreVerbShow

Called by DoVerbShow before the control has been made visible.

OnPreVerbUIActivate

Called by DoVerbUIActivate before the control's user interface has been activated.

See Also

Reference

IOleObjectImpl Class