IVsWindowFrame2::ActivateOwnerDockedWindow Method ()

 

Gives focus to a child IVsWindowFrame.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

int ActivateOwnerDockedWindow()

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

ActivateOwnerDockedWindow gives focus to a child IVsWindowFrame and ensures that its Selection is active. This method is only intended to be used by a parent container for an OwnerDocked window (see VSFPROPID_ParentFrame and VSFPROPID_ParentFrame) in order to forward focus in to the currently active child OwnerDocked window. For normal, top-level document and tool windows Show should be called to activate the window.

From vsshell80.idl:

HRESULT ActivateOwnerDockedWindow(void);
Return to top
Show: