summaryrefslogtreecommitdiff
path: root/plugins/ExternalAPI/m_toptoolbar.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-07-15 11:10:19 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-07-15 11:10:19 +0000
commit8e10b13b38995be8e810342d21040a4324cbfeef (patch)
treefe373e4254f152baceceb96837589a0f1fc90100 /plugins/ExternalAPI/m_toptoolbar.h
parentec72adc886bfaac0cb1ed19520a555bbe0f9f1cd (diff)
nasty clutch with the custom window proc replaced with the standard mir_subclassWindow
git-svn-id: http://svn.miranda-ng.org/main/trunk@5359 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ExternalAPI/m_toptoolbar.h')
-rw-r--r--plugins/ExternalAPI/m_toptoolbar.h13
1 files changed, 2 insertions, 11 deletions
diff --git a/plugins/ExternalAPI/m_toptoolbar.h b/plugins/ExternalAPI/m_toptoolbar.h
index 4b037a3168..fc4399f5f7 100644
--- a/plugins/ExternalAPI/m_toptoolbar.h
+++ b/plugins/ExternalAPI/m_toptoolbar.h
@@ -161,22 +161,13 @@ struct TTBCtrl
BOOL bHardUpdate; // clist modern requires to delete buttons to update them
SortedList* pButtonList;
-
- LRESULT lResult; // custom window proc result
- WNDPROC fnWindowProc; // custom window proc
-};
-
-struct TTBCtrlCustomize
-{
- size_t cbLen; // total length of the internal data structure
- WNDPROC fnWindowProc; // subclassed windows procedure for the custom button
};
// Sets the custom painting procedure for a toolbar
// wParam = not used
-// lParam = TTBCtrlCustomize*
+// lParam = size_t: size of new data block (published from TTBCtrl)
// Usage: SendMessage(hwndToolbar, TTB_SETCUSTOM, 0, (LPARAM)&CustomData);
// Only works on TopToolbars
-#define TTB_SETCUSTOM (WM_USER+1)
+#define TTB_SETCUSTOMDATASIZE (WM_USER+1)
#endif