Partager via


IVsTextView.SendExplicitFocus Method

Definition

Sends explicit focus to the window.

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

Returns

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

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextView::SendExplicitFocus();  

This method sends the GimmeFocus message directly so it is handled immediately.

Applies to