From 81fe4a0a34e8e07305381e18e449246fef822673 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 18 Jun 2012 11:47:05 +0000 Subject: sync git-svn-id: http://svn.miranda-ng.org/main/trunk@469 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/ExternalAPI/m_toptoolbar.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'plugins/ExternalAPI') diff --git a/plugins/ExternalAPI/m_toptoolbar.h b/plugins/ExternalAPI/m_toptoolbar.h index f67a3f965b..c366c05169 100644 --- a/plugins/ExternalAPI/m_toptoolbar.h +++ b/plugins/ExternalAPI/m_toptoolbar.h @@ -1,23 +1,25 @@ - #ifndef M_TOPTOOLBAR_H #define M_TOPTOOLBAR_H //button flags #define TTBBF_DISABLED 1 -#define TTBBF_VISIBLE 2 +#define TTBBF_VISIBLE 2 #define TTBBF_PUSHED 4 #define TTBBF_SHOWTOOLTIP 8 #define TTBBF_DRAWBORDER 16 #define TTBBF_ISSEPARATOR 32 -#define TTBBF_ISLBUTTON 64 -#define TTBBF_ICONBYHANDLE 128 +#define TTBBF_ISLBUTTON 64 +#define TTBBF_ICONBYHANDLE 128 +#define TTBBF_ISSBUTTON 256 typedef struct { int cbSize; - char *pszServiceUp; - char *pszServiceDown; + char *pszService; DWORD dwFlags; - LPARAM lParamUp; + union { + LPARAM lParamUp; + TCHAR *program; + }; WPARAM wParamUp; LPARAM lParamDown; WPARAM wParamDown; @@ -30,8 +32,6 @@ typedef struct { HICON hIconDn; HANDLE hIconHandleDn; }; - char *tooltipUp; - char *tooltipDn; } TTBButton, * lpTTBButton; -- cgit v1.2.3