From c8e8e884a6a632c5766eddab2d84c6a6b2216d6c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 6 Dec 2016 14:22:46 +0300 Subject: StdMsg & Scriver: - switched to the toolbar buttons instead of the fixed button set; - switched to the shared windows list --- include/m_message.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'include/m_message.h') diff --git a/include/m_message.h b/include/m_message.h index f5106c4ce9..6136e50676 100644 --- a/include/m_message.h +++ b/include/m_message.h @@ -244,9 +244,8 @@ struct BBButton 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" + HANDLE hIcon; // Handle to icolib registered icon }; // adds a new toolbar button @@ -290,7 +289,7 @@ EXTERN_C MIR_APP_DLL(void) Srmm_RedrawToolbarIcons(HWND hwndDlg); EXTERN_C MIR_APP_DLL(void) Srmm_ClickToolbarIcon(MCONTACT hContact, DWORD idFrom, HWND hwndFrom, BOOL code); // wParam = (HANDLE)hContact; -// lParam = (CustomButtonClickData *)&CustomButtonClickData; +// lParam = (CustomButtonClickData*) pointer to the click data; // catch to show a popup menu, etc. #define ME_MSG_BUTTONPRESSED "SRMM/ButtonsBar/ButtonPressed" -- cgit v1.2.3