IOleInPlaceSiteWindowless::GetFocus method
Called by an in-place active, windowless object to determine whether it still has the keyboard focus.
Syntax
HRESULT GetFocus();
Parameters
This method has no parameters.
Return value
This method returns S_OK on success. Other possible return values include the following.
| Return code | Description |
|---|---|
|
The object does not currently have the keyboard focus. |
Remarks
A windowless object calls this method to find out if it currently has the focus or not. As an alternative to calling this method, the object can cache information about whether it has the keyboard focus or not.
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
IDL |
|
|
IID |
IID_IOleInPlaceSiteWindowless is defined as 922EADA0-3424-11CF-B670-00AA004CD6D8 |
See also
Show: