diff options
author | Alexey Kulakov <panda75@bk.ru> | 2014-01-15 21:10:20 +0000 |
---|---|---|
committer | Alexey Kulakov <panda75@bk.ru> | 2014-01-15 21:10:20 +0000 |
commit | 8182b383ff777c41459278bd517e4370c42fd78a (patch) | |
tree | 122d41c2a290bee7f15af1ae2fed4e6ea400c1a2 /plugins/ExternalAPI/delphi/m_toptoolbar.inc | |
parent | 45ed02f2c6064fa41d59c01f457565365d22ae59 (diff) |
sync
git-svn-id: http://svn.miranda-ng.org/main/trunk@7670 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ExternalAPI/delphi/m_toptoolbar.inc')
-rw-r--r-- | plugins/ExternalAPI/delphi/m_toptoolbar.inc | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/plugins/ExternalAPI/delphi/m_toptoolbar.inc b/plugins/ExternalAPI/delphi/m_toptoolbar.inc index 47ed615aea..69a3bee044 100644 --- a/plugins/ExternalAPI/delphi/m_toptoolbar.inc +++ b/plugins/ExternalAPI/delphi/m_toptoolbar.inc @@ -159,26 +159,16 @@ type bHardUpdate :boolean; // clist modern requires to delete buttons to update them
pButtonList :PSortedList;
-
- lResult :LRESULT; // custom window proc result
- fnWindowProc :TWNDPROC; // custom window proc
- end;
-
-type
- PTBCtrlCustomize = ^TTBCtrlCustomize;
- TTBCtrlCustomize = record
- cbLen :size_t; // total length of the internal data structure
- fnWindowProc:TWNDPROC; // subclassed windows procedure for the custom button
end;
{
Sets the custom painting procedure for a toolbar
wParam = not used
- lParam = TTBCtrlCustomize*
+ lParam = lParam = size_t: size of new data block (published from TTBCtrl)
Usage: SendMessage(hwndToolbar, TTB_SETCUSTOM, 0, (LPARAM)&CustomData);
Only works on TopToolbars
}
const
- TTB_SETCUSTOM = WM_USER+1;
+ TTB_SETCUSTOMDATASIZE = WM_USER+1;
{$ENDIF}
|