Babel Home > Babel Plug-in API > Plug-in Reference > Plug-in Macros > Plugin_SetOptPage
Plugin_SetOptPage Macro

Tells Babel to display an option pane in the main options dialog. You can use this macro or send the PLG_SET_OPT_PAGE message explicitly.

Syntax

BOOL Plugin_SetOptPage(

    HWND hBabel,     char * pszPath );

Parameters

hBabel
Handle to Babel Instant Messenger (passed on PLGMSG_INITPLUGIN).
pszPath
A pointer to NULL terminated string that describes the path to the options pane to display.

Return Value

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

Macro Information

Headerplugin.h