summaryrefslogtreecommitdiff
path: root/plugins/mRadio/rframeapi.pas
diff options
context:
space:
mode:
authorAlexey Kulakov <panda75@bk.ru>2014-04-07 15:55:25 +0000
committerAlexey Kulakov <panda75@bk.ru>2014-04-07 15:55:25 +0000
commitacb9afd1419ded31a4d9c4d151a0b79801b23d78 (patch)
tree7761e12600203eefb91b478e9cf8d600acc73e08 /plugins/mRadio/rframeapi.pas
parentdea767bfe91ba408b09e4f9bcd503dd2150276a7 (diff)
mRadio: Menu icons added
git-svn-id: http://svn.miranda-ng.org/main/trunk@8874 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/mRadio/rframeapi.pas')
-rw-r--r--plugins/mRadio/rframeapi.pas5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/mRadio/rframeapi.pas b/plugins/mRadio/rframeapi.pas
index 84a5e25f76..03a38ea267 100644
--- a/plugins/mRadio/rframeapi.pas
+++ b/plugins/mRadio/rframeapi.pas
@@ -8,6 +8,7 @@ uses
const
hVolFrmCtrl:HWND=0;
+ hVolFrmMute:HWND=0;
procedure CreateFrame(parent:HWND);
procedure DestroyFrame;
@@ -80,7 +81,8 @@ begin
result:=0;
case hMessage of
WM_DESTROY: begin
- hVolFrmCtrl :=0;
+ hVolFrmCtrl:=0;
+ hVolFrmMute:=0;
DeleteObject(hbr);
end;
@@ -91,6 +93,7 @@ begin
MakeTooltip(Dialog);
hVolFrmCtrl:=GetDlgItem(Dialog,IDC_RADIO_VOL);
+ hVolFrmMute:=GetDlgItem(Dialog,IDC_RADIO_MUTE);
SendMessage(hVolFrmCtrl,TBM_SETRANGE,0,MAKELONG(0,100));
SendMessage(hVolFrmCtrl,TBM_SETPAGESIZE,0,20);
SendMessage(hVolFrmCtrl,TBM_SETPOS,1,gVolume);