blob: cb0c148330553e56542d6c9ee57c80f36235065c (
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
29
30
31
|
#ifndef _POPWIN_INC
#define _POPWIN_INC
#define POP_WIN_CLASS _A2W(MODULENAME) L"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)
#define ANIMATE_NO 0
#define ANIMATE_HORZ 1
#define ANIMATE_VERT 2
void DeinitWindowStack();
void BroadcastMessage(UINT msg, WPARAM wParam, LPARAM lParam);
void RepositionWindows();
LRESULT CALLBACK PopupWindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
#endif
|