DialogAdd

From TrillWiki

Jump to: navigation, search

If you wish to add field tabbing support to a non-modal dialog box, you must call this function after creation.

Compatibility: 1.0 and higher

Contents

Syntax

plugin_send(MYGUID, "dialogAdd", dialog_entry_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

DialogAdd utilitizes the dialog_entry_t structure.

struct dialog_entry_t { 
 	unsigned int			struct_size; 
 
 	HWND				hwnd; 
 };



hwnd
Handle to the modeless dialog


Return Value

Returns a negative value on error, 0 on success.

Remarks

Be sure to remove your dialog using dialogRemove in your WM_DESTROY handler.



See also: dialogRemove

Personal tools