Compartilhar via


IOleInPlaceSiteWindowless.GetFocus Method

Definition

Called by an in-place active, windowless object to determine if it still has the keyboard focus or not.

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

Returns

S_OK The object currently has the keyboard focus. S_FALSE The object does not currently have the keyboard focus.

Remarks

For information on the COM interface, see IOleInPlaceSiteWindowless::GetFocus

Applies to