Babel Home > Babel Plug-in API > Plug-in Reference > Plug-in Messages > PLG_SET_OPT_PAGE
PLG_SET_OPT_PAGE Message

The PLG_SET_OPT_PAGE message is sent to Babel by a plug-in that wants to display an option panel from the main options dialog. You can send this message explicitly or use the Plugin_SetOptPage macro.

Syntax

SendMessage(

    (HWND) hBabel,     PLUGIN_MSG,     (WPARAM) PLG_SET_OPT_PAGE,     (LPARAM) lParam );

Parameters

hBabel
Handle to Babel.
wParam
The PLG_SET_OPT_PAGE message.
lParam
A pointer to NULL terminated string that describes the path to the option panel to display.

Return Value

Returns a BOOL value, TRUE on success and FALSE on failure.

Message Information

Headerplugin.h