summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/ExternalAPI/m_toptoolbar.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/plugins/ExternalAPI/m_toptoolbar.h b/plugins/ExternalAPI/m_toptoolbar.h
index bdbe35057f..6b5f6abd15 100644
--- a/plugins/ExternalAPI/m_toptoolbar.h
+++ b/plugins/ExternalAPI/m_toptoolbar.h
@@ -32,6 +32,14 @@ typedef struct {
HICON hIconDn;
HANDLE hIconHandleDn;
};
+ union {
+ char *pszTooltipDn;
+ TCHAR *ptszTooltipDn;
+ };
+ union {
+ char *pszTooltipUp;
+ TCHAR *ptszTooltipUp;
+ };
}
TTBButton, * lpTTBButton;
@@ -116,10 +124,12 @@ lparam = procedure parameter
returns: always returns 0.
*/
+#define TTB_WINDOW_HANDLE ((HANDLE)-1)
+
typedef void (__cdecl *pfnCustomProc)(HANDLE hTTButton, HWND hwndBtn, LPARAM userInfo);
__forceinline void TopToolbar_SetCustomProc(pfnCustomProc pFunc, LPARAM lParam)
{ CallService("TopToolBar/SetCustomProc", (WPARAM)pFunc, lParam);
}
-#endif \ No newline at end of file
+#endif