Bagikan melalui


COleServerItem Members

Base Class Members

Status

Operations

Construction

Overridables

Data Members

Base Class Members

CObject Members

CCmdTarget Members

CDocItem Members

Status

GetDocument

Returns the server document that contains the item.

GetItemName

Returns the name of the item. Used for linked items only.

IsConnected

Indicates whether the item is currently attached to an active container.

IsLinkedItem

Indicates whether the item represents a linked OLE item.

SetItemName

Sets the name of the item. Used for linked items only.

Operations

AddOtherClipboardData

Places presentation and conversion formats in a COleDataSource object.

CopyToClipboard

Copies the item to the Clipboard.

DoDragDrop

Performs a drag-and-drop operation.

GetClipboardData

Gets the data source for use in data transfer (drag and drop or Clipboard).

GetEmbedSourceData

Gets the CF_EMBEDSOURCE data for an OLE item.

GetLinkSourceData

Gets the CF_LINKSOURCE data for an OLE item.

GetObjectDescriptorData

Gets the CF_OBJECTDESCRIPTOR data for an OLE item.

NotifyChanged

Updates all containers with automatic link update.

Construction

COleServerItem

Constructs a COleServerItem object.

GetDataSource

Gets the object used to store conversion formats.

Overridables

OnDoVerb

Called to execute a verb.

OnDraw

Called when the container requests to draw the item; implementation required.

OnDrawEx

Called for specialized item drawing.

OnGetClipboardData

Called by the framework to get the data that would be copied to the Clipboard.

OnGetExtent

Called by the framework to retrieve the size of the OLE item.

OnHide

Called by the framework to hide the OLE item.

OnInitFromData

Called by the framework to initialize an OLE item using the contents of the data transfer object specified.

OnOpen

Called by the framework to display the OLE item in its own top-level window.

OnQueryUpdateItems

Called to determine whether any linked items require updating.

OnRenderData

Retrieves data as part of delayed rendering.

OnRenderFileData

Retrieves data into a CFile object as part of delayed rendering.

OnRenderGlobalData

Retrieves data into an HGLOBAL as part of delayed rendering.

OnSetColorScheme

Called to set the item's color scheme.

OnSetData

Called to set the item's data.

OnSetExtent

Called by the framework to set the size of the OLE item.

OnShow

Called when the container requests to show the item.

OnUpdate

Called when some portion of the document the item belongs in is changed.

OnUpdateItems

Called to update the presentation cache of all items in the server document.

Data Members

m_sizeExtent

Informs the server about how much of the OLE item is visible.

See Also

Reference

COleServerItem Class

Hierarchy Chart