IOleObject interface (oleidl.h)
Serves as the principal means by which an embedded object provides basic functionality to, and communicates with, its container.
The IOleObject interface inherits from the IUnknown interface. IOleObject also has these types of members:
The IOleObject interface has these methods.
Establishes an advisory connection between a compound document object and the calling object's advise sink, through which the calling object receives notification when the compound document object is renamed, saved, or closed.
Changes an embedded object from the running to the loaded state. Disconnects a linked object from its link source.
Requests that an object perform an action in response to an end-user's action. The possible actions are enumerated for the object in IOleObject::EnumVerbs.
Retrieves a pointer to an enumerator that can be used to enumerate the advisory connections registered for an object, so a container can know what to release prior to closing down.
Exposes a pull-down menu listing the verbs available for an object in ascending order by verb number.
Retrieves a pointer to an embedded object's client site.
Retrieves a data object containing the current contents of the embedded object on which this method is called. Using the pointer to this data object, it is possible to create a new embedded object with the same data as the original.
Retrieves a running object's current display size.
Retrieves the status of an object at creation and loading.
Retrieves an embedded object's moniker, which the caller can use to link to the object.
Retrieves an object's class identifier, the CLSID corresponding to the string identifying the object to an end user.
Retrieves the user-type name of an object for display in user-interface elements such as menus, list boxes, and dialog boxes.
Initializes a newly created object with data from a specified data object, which can reside either in the same container or on the Clipboard.
Checks whether an object is up to date.
Informs an embedded object of its display location, called a "client site," within its container.
Specifies the color palette that the object application should use when it edits the specified object.
Informs an object of how much display space its container has assigned it.
Provides an object with the names of its container application and the compound document in which it is embedded.
Notifies an object of its container's moniker, the object's own moniker relative to the container, or the object's full moniker.
Deletes a previously established advisory connection.
Updates an object handler's or link object's data or view caches.
|Minimum supported client||Windows 2000 Professional [desktop apps only]|
|Minimum supported server||Windows 2000 Server [desktop apps only]|