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

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

Syntax

SendMessage(

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

Parameters

hBabel
Handle to Babel.
wParam
The PLG_ADD_OPT_PAGE message.
lParam
A pointer to an OPTPAGEINSERTSTRUCT structure, that describes the option panel to add.

Return Value

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

Message Information

Headerplugin.h