Events actionEditShow
From TrillWiki
The events_actionEditShow notification is sent when the preferences for a custom event need to be either shown or hidden.
Compatibility: 2.0 and higher
Contents |
Syntax
callback(int window_id, char *icontrol, "events_actionEditShow", event_action_show_t *data, void *userData);
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
Events actionEditShow utilitizes the event_action_show_t structure.
struct event_action_show_t {
unsigned int struct_size;
int show; //1 shows, 0 hides
char *event;
HWND hwnd;
int x;
int y;
int event_id;
};
- show
- Whether to show or hide the hwnd.
- event
- The event name.
- hwnd
- The hwnd parent for the dialog.
- x
- The x location to move your dialog.
- y
- The y location to move your dialog.
- event_id
- The event_id associated with the event to edit.
Return Value
Must return 0.
Remarks
The default size for the dialog (in dialog units) is 233 x 118 with a Tahoma 8 font.
See also: events_actionEditCreate
