InstallWizardShow

From TrillWiki

Jump to: navigation, search

The installWizardShow notification is sent to the main plugin function when it should display any install wizard window it might have.

Compatibility: 2.0 and higher

Contents

Syntax

plugin_main("installWizardShow",install_wizard_t *);

Note that all Trillian functions and notifications begin with a lower-case letter, despite the Wiki requirement that all pages start with a capital letter.

Parameters

InstallWizardShow utilitizes the install_wizard_t structure.

struct install_wizard_t
{
    unsigned int                struct_size;

    int                         show; //1 shows, 0 hides
    int                         flags;

    HWND                        hwnd;

    int                         x;
    int                         y;

    /* 3.0
     */
    char                        name[128];
    char                        description[1024];
};



hwnd
The parent hwnd the install wizard should be displayed in.
x
The x offset to display the install wizard at.
y
The y offset to display the install wizard at.


Return Value

0 if no install wizard, otherwise, 1.

Remarks

None.