Επεξεργασία

Κοινή χρήση μέσω


IDockingWindow interface (shobjidl_core.h)

Exposes methods that notify the docking window object of changes, including showing, hiding, and impending removal. This interface is implemented by window objects that can be docked within the border space of a Windows Explorer window.

Inheritance

The IDockingWindow interface inherits from IOleWindow. IDockingWindow also has these types of members:

Methods

The IDockingWindow interface has these methods.

 
IDockingWindow::CloseDW

Notifies the docking window object that it is about to be removed from the frame. The docking window object should save any persistent information at this time.
IDockingWindow::ResizeBorderDW

Notifies the docking window object that the frame's border space has changed. In response to this method, the IDockingWindow implementation must call SetBorderSpaceDW, even if no border space is required or a change is not necessary.
IDockingWindow::ShowDW

Instructs the docking window object to show or hide itself.

Remarks

IDockingWindow is derived from IOleWindow. See the following topics for details on these methods also available to IDockingWindow through that inheritance.

Additional IDockingWindow Methods
IDockingWindow::GetWindow
IDockingWindow::ContextSensitiveHelp
 

When to Implement

Implement IDockingWindow when you want to display a window inside a browser frame. This is typically used for user interface windows, such as toolbars.

When to Use

You do not usually use the IDockingWindow interface directly. The Shell browser uses this interface to support docked windows inside the browser frame.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional, Windows XP [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shlobj.h)