hasFocus method
[This documentation is preliminary and is subject to change.]
Gets a value indicating whether the object currently has focus.
Syntax
HRESULT retVal = object.hasFocus();
Standards information
There are no standards that apply here.
Parameters
- pfFocus [out, retval]
-
Type: VARIANT_BOOL
A pointer to a VARIANT_BOOL that receives one of the following values.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Build date: 6/12/2012
Community Additions
Show: