IASForm::GetFocus

This method retrieves a pointer to the control that has the current focus.

Syntax

HRESULT GetFocus( IDispatch **ppdispControl );

Parameters

ppdispControl
Pointer to the pointer to the control’s IASControl interface.

Return Values

NOERROR indicates success. If an error occurs, the appropriate HRESULT value is returned.

See Also

IASForm::SetFocus, IASControl