From 809aa14dd2119e7b0de93846eb38bbb83073dad6 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Thu, 14 Mar 2013 08:11:57 +0000 Subject: removed not used headers m_yapp.h moved to ExtAPI git-svn-id: http://svn.miranda-ng.org/main/trunk@4013 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/YAPP/src/message_pump.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'plugins/YAPP/src/message_pump.h') diff --git a/plugins/YAPP/src/message_pump.h b/plugins/YAPP/src/message_pump.h index 70671b157a..6acb371080 100644 --- a/plugins/YAPP/src/message_pump.h +++ b/plugins/YAPP/src/message_pump.h @@ -11,6 +11,31 @@ void PostMPMessage(UINT msg, WPARAM, LPARAM); #define MUM_NMREMOVE (WM_USER + 0x014) #define MUM_NMAVATAR (WM_USER + 0x015) +struct PopupData +{ + int cbSize; + int flags; // OR of PDF_* flags below + HANDLE hContact; + HICON hIcon; + union { + char *pszTitle; + TCHAR *ptzTitle; + wchar_t *pwzTitle; + }; + union { + char *pszText; + TCHAR *ptzText; + wchar_t *pwzText; + }; + COLORREF colorBack; // if colorBack and colorText are equal, defaults will be used + COLORREF colorText; + WNDPROC windowProc; // optional custom window procedure + int timeout; // -1 == infinite, 0 == default, otherwise timeout in seconds + void *opaque; + + void SetIcon(HICON); +}; + // given a popup data pointer, and a handle to an event, this function // will post a message to the message queue which will set the hwnd value // and then set the event...so create an event, call this function and then wait on the event -- cgit v1.2.3