diff options
Diffstat (limited to 'plugins/ExternalAPI/m_msg_buttonsbar.h')
-rw-r--r-- | plugins/ExternalAPI/m_msg_buttonsbar.h | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/plugins/ExternalAPI/m_msg_buttonsbar.h b/plugins/ExternalAPI/m_msg_buttonsbar.h index 73d4619229..c005b46a2f 100644 --- a/plugins/ExternalAPI/m_msg_buttonsbar.h +++ b/plugins/ExternalAPI/m_msg_buttonsbar.h @@ -99,26 +99,22 @@ typedef struct { #define BBBF_ISRSIDEBUTTON (1<<7)
#define BBBF_CANBEHIDDEN (1<<8)
#define BBBF_ISDUMMYBUTTON (1<<9)
-#define BBBF_ANSITOOLTIP (1<<10)
#define BBBF_CREATEBYID (1<<11) //only for tabsrmm internal use
typedef struct _tagBBButton
{
- int cbSize; // size of structure
-
- DWORD dwButtonID; // your button ID, will be combined with pszModuleName for storing settings, etc...
-
- char* pszModuleName; //module name without spaces and underline symbols (e.g. "tabsrmm")
- union{
- char* pszTooltip; //button's tooltip
- TCHAR* ptszTooltip;
- };
- DWORD dwDefPos; // default order pos of button, counted from window edge (left or right)
- // use value >100, because internal buttons using 10,20,30... 80, etc
- int iButtonWidth; // must be 0
- DWORD bbbFlags; // combine of BBBF_ flags above
- HANDLE hIcon; // Handle to icolib registered icon, it's better to register with pszSection = "TabSRMM/Toolbar"
+ int cbSize; // size of structure
+
+ DWORD dwButtonID; // your button ID, will be combined with pszModuleName for storing settings, etc...
+
+ char *pszModuleName; // module name without spaces and underline symbols (e.g. "tabsrmm")
+ wchar_t *pwszTooltip;
+ DWORD dwDefPos; // default order pos of button, counted from window edge (left or right)
+ // use value >100, because internal buttons using 10,20,30... 80, etc
+ int iButtonWidth; // must be 0
+ DWORD bbbFlags; // combine of BBBF_ flags above
+ HANDLE hIcon; // Handle to icolib registered icon, it's better to register with pszSection = "TabSRMM/Toolbar"
}
BBButton;
|