diff options
author | watcher <watcherhd@gmail.com> | 2016-12-05 23:47:36 +0200 |
---|---|---|
committer | watcher <watcherhd@gmail.com> | 2016-12-05 23:47:36 +0200 |
commit | 8271ae317370f9c27de576075a2d779ccaf9a560 (patch) | |
tree | 9c2491e88bdb0c62a1172d7084afdc0e2148606e /plugins/ExternalAPI | |
parent | dd2811d596b99ffd3b8c0a2de3acca183eb4cfd0 (diff) |
fix for pascal toobar buttons api
Diffstat (limited to 'plugins/ExternalAPI')
-rw-r--r-- | plugins/ExternalAPI/delphi/m_msg_buttonsbar.inc | 4 |
1 files changed, 2 insertions, 2 deletions
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
|