IVsTextView.SendExplicitFocus Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.