summaryrefslogtreecommitdiff
path: root/plugins/YAPP/popwin.h
blob: 63038c470bc40f1a411239783cc77a7a578844d5 (plain)
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
#ifndef _POPWIN_INC
#define _POPWIN_INC

#define POP_WIN_CLASS					_T(MODULE) _T("YAPPWindowClass")

#define PUM_SETTEXT						(WM_USER + 0x020)
#define PUM_GETCONTACT					(WM_USER + 0x021)
#define PUM_GETOPAQUE					(WM_USER + 0x022)
#define PUM_CHANGE						(WM_USER + 0x023)
#define PUM_MOVE						(WM_USER + 0x024)
#define PUM_GETHEIGHT					(WM_USER + 0x025)
#define PUM_UPDATERGN					(WM_USER + 0x026)

#define PUM_SETNOTIFYH					(WM_USER + 0x030)
#define PUM_KILLNOTIFY					(WM_USER + 0x031)
#define PUM_UPDATENOTIFY				(WM_USER + 0x032)

void InitWindowStack();
void DeinitWindowStack();

void BroadcastMessage(UINT msg, WPARAM wParam, LPARAM lParam);

void RepositionWindows();

LRESULT CALLBACK PopupWindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);


#endif