summaryrefslogtreecommitdiff
path: root/src/core/stdpopup/src/popwin.h
blob: 8ab19fca5f666ef01978f4c569513460861c37f0 (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
#ifndef _POPWIN_INC
#define _POPWIN_INC

#define POP_WIN_CLASS        L"PopupWnd2"

#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 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