summaryrefslogtreecommitdiff
path: root/plugins/Actman/ua/i_uaplaces.inc
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-22 13:35:02 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-22 13:35:02 +0000
commitb3506557a58f53ed0fc3a96c4ec4a3b8098a542d (patch)
tree520a1cb861afa7600c0553ce8b2558f725a70ed1 /plugins/Actman/ua/i_uaplaces.inc
parent4625aafb053a002f0223bfbe76abfbec629feacf (diff)
- CLISTMENUITEM::cbSize - atavism removed;
- code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@14325 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Actman/ua/i_uaplaces.inc')
-rw-r--r--plugins/Actman/ua/i_uaplaces.inc48
1 files changed, 0 insertions, 48 deletions
diff --git a/plugins/Actman/ua/i_uaplaces.inc b/plugins/Actman/ua/i_uaplaces.inc
index 9c508a167f..a36c8d511c 100644
--- a/plugins/Actman/ua/i_uaplaces.inc
+++ b/plugins/Actman/ua/i_uaplaces.inc
@@ -377,7 +377,6 @@ begin
if not res then
begin
FillChar(clmi,SizeOf(clmi),0);
- clmi.cbSize:=SizeOf(clmi);
if (UAMenuItem.menu_opt and UAF_NOTRANS)<>0 then
clmi.flags :=CMIF_UNICODE or CMIF_KEEPUNTRANSLATED
else
@@ -425,7 +424,6 @@ begin
// Now Menu Item preparing
{}{}
FillChar(clmi,SizeOf(clmi),0);
- clmi.cbSize:=SizeOf(clmi);
if (UAMenuItem.menu_opt and UAF_NOTRANS)<>0 then
clmi.flags :=CMIF_UNICODE or CMIF_KEEPUNTRANSLATED
else
@@ -488,7 +486,6 @@ begin
result:=0;
FillChar(mi,SizeOf(mi),0);
- mi.cbSize:=SizeOf(mi);
for i:=0 to HIGH(UActionList) do
begin
@@ -792,8 +789,6 @@ end;
function OnTabButtonPressed(wParam:WPARAM;lParam:LPARAM):int; cdecl;
var
cbcd:pCustomButtonClickData;
-// tabb:BBButton;
-// pc:pWideChar;
i:integer;
begin
result:=0;
@@ -807,49 +802,6 @@ begin
begin
if cbcd.dwButtonId=dwActID then
begin
-{
- FillChar(tabb,SizeOf(tabb),0);
- tabb.cbSize :=SizeOf(tabb);
- tabb.dwButtonID :=cbcd.dwButtonId;
- tabb.pszModuleName:=MODULE_NAME;
- if (flags and UAF_2STATE)<>0 then
- begin
- CallService(MS_BB_GETBUTTONSTATE,cbcd.hContact,TLPARAM(@tabb));
- if IsLocalItem(UActionList[i]) then
- begin
- if DBReadByte(hContact,opt_ua,szNameID)<>0 then
- end
- else
- begin
- if (tabb.bbbFlags and BBSF_PUSHED)<>0 then
- begin
- pc:=szTabBTooltipPressed;
- if pc=nil then pc:=szTabBTooltip;
- tabb.hIcon:=hIcolibIconPressed;
- end
- else
- begin
- pc:=szTabBTooltip;
- tabb.hIcon:=hIcolibIcon;
- end;
- if pc=nil then pc:=szActDescr;
- tabb.szTooltip.w:=pc;
- tabb.bbbFlags :=BBBF_ISIMBUTTON or BBBF_ISLSIDEBUTTON or
- BBBF_ISCHATBUTTON or BBBF_ISPUSHBUTTON;
- end
- else
- begin
- tabb.hIcon:=hIcolibIcon;
- tabb.szTooltip.w:=szTabBTooltip;
- if tabb.szTooltip.w=nil then tabb.szTooltip.w:=szActDescr;
- tabb.bbbFlags :=BBBF_ISIMBUTTON or BBBF_ISLSIDEBUTTON or
- BBBF_ISCHATBUTTON;
- end;
-
- tabb.iButtonWidth:=0;
- tabb.dwDefPos :=(TABTOOLBAR_INITPOS+wSortIndex*10) and $7FFF;
- CallService(MS_BB_MODIFYBUTTON,0,TLPARAM(@tabb));
-}
ServiceCallWithFParam(cbcd.hContact,0,cbcd.dwButtonId);
result:=1;
break;