IOleUILinkContainer interface
Implemented by containers and used by OLE common dialog boxes. It supports these dialog boxes by providing the methods needed to manage a container's links.
The IOleUILinkContainer methods enumerate the links associated with a container, and specify how they should be updated, automatically or manually. They change the source of a link and obtain information associated with a link. They also open a link's source document, update links, and break a link to the source.
When to implement
You must implement this interface if you are creating a container application that will use the Links, Change Source, or Update Links dialog boxes, as well as the Object Properties dialog box, which uses this interface indirectly. The Links dialog box calls back to the container application to perform OLE functions that manipulate the links within the container.
When to use
OLE common dialog boxes use only this interface to manage the properties of a container's links. They can also use it to manage non-OLE (DDE and other container-specific) links.
Members
The IOleUILinkContainer interface inherits from the IUnknown interface. IOleUILinkContainer also has these types of members:
Methods
The IOleUILinkContainer interface has these methods.
| Method | Description |
|---|---|
| CancelLink |
Disconnects the selected links. |
| GetLinkSource |
Retrieves information about a link that can be displayed in the Links dialog box. |
| GetLinkUpdateOptions |
Determines the current update options for the link. |
| GetNextLink |
Enumerates the links in a container. |
| OpenLinkSource |
Opens the link's source. |
| SetLinkSource |
Changes the source of a link. |
| SetLinkUpdateOptions |
Sets a link's update options to automatic or manual. |
| UpdateLink |
Forces a link to connect to its source and update. |
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
IID |
IID_IOleUILinkContainer is defined as 000004FF-0000-0000-C000-000000000046 |
See also