diff options
author | George Hazan <ghazan@miranda.im> | 2018-04-17 13:04:41 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-04-17 13:04:41 +0300 |
commit | e285d61d903c2616f5a7ea3026a1068ceb59b513 (patch) | |
tree | 9e0ba5e018bd232b6a1293aaca6cd6c86bc7a6f0 /plugins | |
parent | c13df8fa3e1f60b059cecf3f3d6c825b7e86ac16 (diff) |
Quick Search: added tooltip for a toolbar button
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/QuickSearch/sr_global.pas | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/plugins/QuickSearch/sr_global.pas b/plugins/QuickSearch/sr_global.pas index 1490c52eea..46313225d1 100644 --- a/plugins/QuickSearch/sr_global.pas +++ b/plugins/QuickSearch/sr_global.pas @@ -217,11 +217,13 @@ begin if ServiceExists(MS_TTB_ADDBUTTON) then
begin
ZeroMemory(@ttbopt,sizeof(ttbopt));
- ttbopt.pszService:=QS_SHOWSERVICE;
- ttbopt.hIconUp :=IcoLib_GetIcon(QS_QS,0);
- ttbopt.hIconDn :=ttbopt.hIconUp;
- ttbopt.dwFlags :=TTBBF_VISIBLE;
- ttbopt.name :=qs_module;
+ ttbopt.pszService := QS_SHOWSERVICE;
+ ttbopt.hIconUp := IcoLib_GetIcon(QS_QS,0);
+ ttbopt.hIconDn := ttbopt.hIconUp;
+ ttbopt.dwFlags := TTBBF_VISIBLE;
+ ttbopt.name := qs_module;
+ ttbopt.pszTooltipUp := qs_name;
+ ttbopt.pszTooltipDn := qs_name;
hTTBButton:=TopToolbar_AddButton(@ttbopt);
if hTTBButton=THANDLE(-1) then
hTTBButton:=0;
|