IASActiveForms::GetFocus

This method retrieves a pointer to the form that currently has the focus.

Syntax

HRESULT GetFocus( IDispatch ** ppdispForm );

Parameters

ppdispForm
Pointer to the pointer to the form that currently has the focus.

Return Values

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