IASForm::put_VoiceMenu

This method sets the voice menu currently associated with the form.

Syntax

HRESULT put_VoiceMenu( IUnknown *pUnknownVoiceMenu );

Parameters

pUnknownVoiceMenu
Pointer to the voice menu.

Return Values

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

Remarks

Once a voice menu is attached to a form, it is automatically activated or deactivated by the Forms Manager when focus changes for the form or application. This eliminates the need for applications to activate or deactivate their own voice menus when they receive a WM_ACTIVATE message.

See Also

IASForm::get_VoiceMenu