From 8271ae317370f9c27de576075a2d779ccaf9a560 Mon Sep 17 00:00:00 2001 From: watcher Date: Mon, 5 Dec 2016 23:47:36 +0200 Subject: fix for pascal toobar buttons api --- plugins/ExternalAPI/delphi/m_msg_buttonsbar.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/ExternalAPI/delphi/m_msg_buttonsbar.inc') diff --git a/plugins/ExternalAPI/delphi/m_msg_buttonsbar.inc b/plugins/ExternalAPI/delphi/m_msg_buttonsbar.inc index 9ead87cdb1..2db75cc7e5 100644 --- a/plugins/ExternalAPI/delphi/m_msg_buttonsbar.inc +++ b/plugins/ExternalAPI/delphi/m_msg_buttonsbar.inc @@ -34,8 +34,8 @@ const type pCustomButtonClickData = ^tCustomButtonClickData; tCustomButtonClickData = record - pt :TPOINT; // screen coordinates for menus pszModule :PAnsiChar; // button owners name + pt :TPOINT; // screen coordinates for menus dwButtonId:dword; // registered button ID hwndFrom :HWND; // button parents HWND hContact :TMCONTACT; @@ -57,8 +57,8 @@ const type pBBButton = ^tBBButton; tBBButton = record - dwButtonID :dword; // your button ID, will be combined with pszModuleName for storing settings, etc... pszModuleName:PAnsiChar; // module name without spaces and underline symbols (e.g. "tabsrmm") + dwButtonID :dword; // your button ID, will be combined with pszModuleName for storing settings, etc... szTooltip :PWideChar; // button's tooltip dwDefPos :dword; // default order pos of button, counted from window edge (left or right) // use value >100, because internal buttons using 10,20,30... 80, etc -- cgit v1.2.3