diff options
Diffstat (limited to 'plugins/mRadio/rframeapi.pas')
-rw-r--r-- | plugins/mRadio/rframeapi.pas | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/plugins/mRadio/rframeapi.pas b/plugins/mRadio/rframeapi.pas index b875ab7ca9..6888c3965d 100644 --- a/plugins/mRadio/rframeapi.pas +++ b/plugins/mRadio/rframeapi.pas @@ -74,7 +74,6 @@ end; function RadioFrameProc(Dialog:HWND;hMessage:uint;wParam:WPARAM;lParam:LPARAM):LRESULT; stdcall;
var
- urd:TUTILRESIZEDIALOG;
rc:TRECT;
tmp:pAnsiChar;
begin
@@ -103,14 +102,7 @@ begin end;
WM_SIZE: begin
- FillChar(urd,SizeOf(TUTILRESIZEDIALOG),0);
- urd.cbSize :=SizeOf(urd);
- urd.hwndDlg :=Dialog;
- urd.hInstance :=hInstance;
- urd.lpTemplate:=MAKEINTRESOURCEA(IDD_FRAME);
- urd.lParam :=0;
- urd.pfnResizer:=@QSDlgResizer;
- CallService(MS_UTILS_RESIZEDIALOG,0,tlparam(@urd));
+ Utils_ResizeDialog(Dialog, hInstance, MAKEINTRESOURCEA(IDD_FRAME), @QSDlgResizer);
end;
WM_ERASEBKGND: begin
@@ -179,7 +171,6 @@ begin end;
WM_HSCROLL: begin
-// gVolume:=SendMessage(lParam,TBM_GETPOS,0,0);
CallService(MS_RADIO_SETVOL,SendMessage(lParam,TBM_GETPOS,0,0){gVolume},2)
end;
|