DialogRemove

From TrillWiki

Jump to: navigation, search

Remove a modeless dialog box added to the keyboard queue with dialogAdd.

Compatibility: 1.0 and higher

Contents

Syntax

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

DialogRemove 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

This is normally added in your WM_DESTROY handler.



See also: dialogAdd

Personal tools