diff options
author | George Hazan <george.hazan@gmail.com> | 2015-05-04 20:19:47 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-05-04 20:19:47 +0000 |
commit | d59aab9f81a82258e65721a9b48c4978d0d381c9 (patch) | |
tree | 523a419b09d6b02baeda8c6be86a80cb068b6179 /plugins/Watrack/kolframe | |
parent | a2f3375c0fa8ff246897d7b17c9a70ecd39a400d (diff) |
fix for another Watrack option pages
git-svn-id: http://svn.miranda-ng.org/main/trunk@13433 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Watrack/kolframe')
-rw-r--r-- | plugins/Watrack/kolframe/frm.rc | 9 | ||||
-rw-r--r-- | plugins/Watrack/kolframe/frm.res | bin | 3032 -> 3012 bytes | |||
-rw-r--r-- | plugins/Watrack/kolframe/kolframe.pas | 6 |
3 files changed, 9 insertions, 6 deletions
diff --git a/plugins/Watrack/kolframe/frm.rc b/plugins/Watrack/kolframe/frm.rc index 50180b4b53..7989823829 100644 --- a/plugins/Watrack/kolframe/frm.rc +++ b/plugins/Watrack/kolframe/frm.rc @@ -1,9 +1,10 @@ #include "frm_rc.inc"
+#include "resource.inc"
LANGUAGE 0,0
-FRAME DIALOGEX 0, 0, 304, 226, 0
-STYLE DS_SETFONT | WS_CHILD | WS_VISIBLE
+IDD_OPT_FRAME DIALOGEX 0, 0, 304, 226, 0
+STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Shell Dlg", 0, 0
{
@@ -53,8 +54,8 @@ FONT 8, "MS Shell Dlg", 0, 0 AUTOCHECKBOX "Use cover instead of picture", IDC_USECOVER, 155, 196, 142, 16, BS_VCENTER | BS_MULTILINE | BS_NOTIFY
}
-FRAME2 DIALOGEX 0, 0, 304, 226, 0
-STYLE DS_SETFONT | WS_CHILD | WS_VISIBLE
+IDD_OPT_FRAME2 DIALOGEX 0, 0, 304, 226, 0
+STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Shell Dlg", 0, 0
{
diff --git a/plugins/Watrack/kolframe/frm.res b/plugins/Watrack/kolframe/frm.res Binary files differindex b978cdb07e..fee3a6aad6 100644 --- a/plugins/Watrack/kolframe/frm.res +++ b/plugins/Watrack/kolframe/frm.res diff --git a/plugins/Watrack/kolframe/kolframe.pas b/plugins/Watrack/kolframe/kolframe.pas index 49a541a206..20acfa9ffb 100644 --- a/plugins/Watrack/kolframe/kolframe.pas +++ b/plugins/Watrack/kolframe/kolframe.pas @@ -9,6 +9,8 @@ uses windows,kol,commdlg,messages,common,commctrl, KOLCCtrls, wat_api,wrapper,global,m_api,dbsettings,waticons,mirutils,
icobuttons,textblock,kolsizer;
+{$include resource.inc}
+
{$R frm.res}
{$include frm_data.inc}
@@ -298,13 +300,13 @@ begin count:=2;
if count=2 then
begin
- tmpl:='FRAME';
+ tmpl:=PAnsiChar(IDD_OPTION_FRAME);
proc:=@FrameViewDlg;
name:='Frame (main)';
end
else
begin
- tmpl:='FRAME2';
+ tmpl:=PAnsiChar(IDD_OPTION_FRAME2);
proc:=@FrameTextDlg;
name:='Frame (text)';
end;
|