summaryrefslogtreecommitdiff
path: root/plugins/YAPP/src/popwin.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/YAPP/src/popwin.h')
-rw-r--r--plugins/YAPP/src/popwin.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/plugins/YAPP/src/popwin.h b/plugins/YAPP/src/popwin.h
new file mode 100644
index 0000000000..4d826ceade
--- /dev/null
+++ b/plugins/YAPP/src/popwin.h
@@ -0,0 +1,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