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)
Syntax
'Dichiarazione
Function ActivateOwnerDockedWindow As Integer
'Utilizzo
Dim instance As IVsWindowFrame2
Dim returnValue As Integer
returnValue = instance.ActivateOwnerDockedWindow()
int ActivateOwnerDockedWindow()
int ActivateOwnerDockedWindow()
abstract ActivateOwnerDockedWindow : unit -> int
function ActivateOwnerDockedWindow() : int
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
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.
COM Signature
From vsshell80.idl:
HRESULT ActivateOwnerDockedWindow(void);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.