共用方式為


IVsWindowFrame2.ActivateOwnerDockedWindow Method

Definition

Gives focus to a child IVsWindowFrame.

public:
 int ActivateOwnerDockedWindow();
public:
 int ActivateOwnerDockedWindow();
int ActivateOwnerDockedWindow();
public int ActivateOwnerDockedWindow ();
abstract member ActivateOwnerDockedWindow : unit -> int
Public Function ActivateOwnerDockedWindow () As Integer

Returns

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);  

Applies to