diff options
Diffstat (limited to 'tipper/popwin.h')
-rw-r--r-- | tipper/popwin.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tipper/popwin.h b/tipper/popwin.h new file mode 100644 index 0000000..f354d63 --- /dev/null +++ b/tipper/popwin.h @@ -0,0 +1,17 @@ +#ifndef _POPWIN_INC
+#define _POPWIN_INC
+
+#define POP_WIN_CLASS _T(MODULE) _T("MimTTClass")
+
+#define PUM_GETHEIGHT (WM_USER + 0x020)
+#define PUM_CALCPOS (WM_USER + 0x021)
+#define PUM_SETSTATUSTEXT (WM_USER + 0x022)
+#define PUM_UPDATERGN (WM_USER + 0x023)
+#define PUM_SETAVATAR (WM_USER + 0x024)
+#define PUM_REFRESH_VALUES (WM_USER + 0x025)
+
+LRESULT CALLBACK PopupWindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
+
+int AvatarChanged(WPARAM wParam, LPARAM lParam); // exposed so hook/unhook is in main thread
+
+#endif
|