summary refs log tree commit diff stats
path: root/plugins/hextray/hextray.h
blob: 2fc4b50755d2b969455266e8da3a0b0a200944d4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
generated by cgit-pink 1.4.1 (git 2.36.1) at 2025-03-30 19:37:53 +0000
 


n class="n">HWND				g_hPrefDlg;
extern HMENU			g_hTrayMenu;
extern HICON			g_hIcons[24];
extern HANDLE			g_hInstance;
extern unsigned int		g_dwPrefs;
extern TCHAR			g_szAway[512];
extern int				g_iTime;
extern WNDPROC			g_hOldProc;
extern struct _hexchat_plugin *ph;
/******************************************************/

/******************** Messages ************************/
#define WM_TRAYMSG WM_APP
/******************************************************/

/********************* Events *************************/
#define CHAN_HILIGHT			1
#define CHAN_INVITE				2
#define CHAN_TOPIC_CHANGE		3
#define CHAN_BANNED				4
#define CHAN_KICKED				5

#define CTCP_GENERIC			6
#define PMSG_RECEIVE			7

#define SERV_KILLED				8
#define SERV_NOTICE				9
#define SERV_DISCONNECT			10

/* new events */
#define CHAN_MESSAGE			21

#define PREF_AOM				11 // away on minimize
#define PREF_TOT				12 // Tray on Taskbar
#define PREF_AMAE				13 // alert me about events
#define PREF_OSBWM				14 // Only Show Balloon When Minimized
#define PREF_UWIOB				15 // Use Window Instead of Balloon
#define PREF_KAOI				16 // Keep alerts open indefinitely
#define PREF_MIOC				17 // Minimize instead of close
#define PREF_BLINK				18 // blink icon
#define PREF_CICO				19 // change icon - not implemented
#define PREF_DNSIT				20 // Do not show in taskbar
/******************************************************/
#endif

#ifdef _WIN64
/* use replacement with the same value, and use SetWindowLongPtr instead
   of SetWindowLong. more info:

   http://msdn.microsoft.com/en-us/library/ms633591.aspx
   http://msdn.microsoft.com/en-us/library/ms644898.aspx */
#define GWL_HWNDPARENT GWLP_HWNDPARENT
#endif