summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-05-04 20:52:39 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-05-04 20:52:46 +0300
commit633d14f19afc80362a5d4872def663a5271c7225 (patch)
tree0dcd65265836da3503af39d060c45e19de149ba5 /include
parent7c0d4f4d63669f84d0796776a47d12d75891c40e (diff)
fixes #2381 (NewStory: add right-click menu for groupchats)
Diffstat (limited to 'include')
-rw-r--r--include/m_chat_int.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/m_chat_int.h b/include/m_chat_int.h
index 24f368caf4..5319c96422 100644
--- a/include/m_chat_int.h
+++ b/include/m_chat_int.h
@@ -395,6 +395,9 @@ EXTERN_C MIR_APP_DLL(void) Chat_UpdateOptions();
// runs ME_GC_EVENT with the parameters passed
EXTERN_C MIR_APP_DLL(BOOL) Chat_DoEventHook(SESSION_INFO *si, int iType, const USERINFO *pUser, const wchar_t* pszText, INT_PTR dwItem);
+// creates custom popup menu for a group chat
+EXTERN_C MIR_APP_DLL(UINT) Chat_CreateMenu(HWND hwnd, HMENU hMenu, POINT pt, SESSION_INFO *si, const wchar_t *pszUID);
+
// calculates width or height of a string
EXTERN_C MIR_APP_DLL(int) Chat_GetTextPixelSize(const wchar_t *pszText, HFONT hFont, bool bWidth);