IASActiveForms::SetFocus

This method sets the focus to a specified form.

Syntax

HRESULT SetFocus( IDispatch*pdispForm );

Parameters

pdispForm
Pointer to the pointer to the form.

Return Values

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