[PATCH] comdlg32: Improve PRINT32 dialog
Alistair Leslie-Hughes
leslie_alistair at hotmail.com
Mon Jan 21 17:13:18 CST 2019
- Corrected TAB order to be the same as windows
- Moved Help button to Bottom Right, align top with OK/Cancel buttons.
- Moved Print to File Checkbox to be in the same position as windows.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
---
dlls/comdlg32/comdlg32.rc | 45 +++++++++++++++++++++------------------------
1 file changed, 21 insertions(+), 24 deletions(-)
diff --git a/dlls/comdlg32/comdlg32.rc b/dlls/comdlg32/comdlg32.rc
index 22a5a93..04ce3da9 100644
--- a/dlls/comdlg32/comdlg32.rc
+++ b/dlls/comdlg32/comdlg32.rc
@@ -354,40 +354,37 @@ STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU |
DS_CONTEXTHELP | DS_3DLOOK
CAPTION "Print"
FONT 8, "MS Shell Dlg"
-{
- DEFPUSHBUTTON "OK", IDOK, 176,164, 50,14, WS_GROUP | BS_DEFPUSHBUTTON
- PUSHBUTTON "Cancel", IDCANCEL, 230,164, 50,14, WS_GROUP
- PUSHBUTTON "&Help", pshHelp, 50, 161, 50,14, WS_GROUP
-
+BEGIN
GROUPBOX "Printer", grp4, 8, 4, 272,84, WS_GROUP
- CONTROL "Print to fi&le", chx1, "Button",BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,185,36,90,16
+ COMBOBOX cmb4,54,18,152,152,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_GROUP | WS_TABSTOP
PUSHBUTTON "&Properties", psh2, 212, 17, 60,14, WS_GROUP
+ CONTROL "Print to fi&le",chx1,"Button",BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,213,71,60,12
LTEXT "&Name:", stc6, 16, 20, 36,8
- COMBOBOX cmb4, 52, 18, 152,152,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_GROUP | WS_TABSTOP
- LTEXT "Status:", stc8, 16, 36, 47,10, SS_NOPREFIX
- LTEXT "", stc12, 65, 36, 120,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
- LTEXT "Type:", stc7, 16, 48, 47,10, SS_NOPREFIX
- LTEXT "", stc11, 65, 48, 212,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
- LTEXT "Where:", stc10, 16, 60, 47,10, SS_NOPREFIX
- LTEXT "", stc14, 65, 60, 212,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
- LTEXT "Comment:", stc9, 16, 72, 47,10, SS_NOPREFIX
- LTEXT "", stc13, 65, 72, 212,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
-
- GROUPBOX "Copies", grp2, 160, 92, 120,64, WS_GROUP
- LTEXT "Number of &copies:",stc5,168,105,68,8
- ICON "", ico3, 170,131, 76,24, WS_GROUP | SS_CENTERIMAGE
- CONTROL "C&ollate", chx2,"Button",BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,168,118,100,12
- EDITTEXT edt3, 240,103, 32,12, WS_GROUP | ES_NUMBER
-
+ LTEXT "Status:",stc8,16,36,36,10,SS_NOPREFIX
+ LTEXT "",stc12,SS_LEFTNOWORDWRAP | SS_NOPREFIX,54,36,152,10
+ LTEXT "Type:",stc7,16,48,36,10,SS_NOPREFIX
+ LTEXT "",stc11,SS_LEFTNOWORDWRAP | SS_NOPREFIX,54,48,152,10
+ LTEXT "Where:",stc10,16,60,36,10,SS_NOPREFIX
+ LTEXT "",stc14,SS_LEFTNOWORDWRAP | SS_NOPREFIX,54,60,152,10
+ LTEXT "Comment:",stc9,16,72,36,10,SS_NOPREFIX
+ LTEXT "",stc13,SS_LEFTNOWORDWRAP | SS_NOPREFIX,54,72,152,10
GROUPBOX "Print range", grp1, 8,92, 144,64, WS_GROUP
CONTROL "&All", rad1,"Button",BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,16,106,64,12
CONTROL "Pa&ges", rad3,"Button",BS_AUTORADIOBUTTON,16,122,36,12
CONTROL "&Selection", rad2,"Button",BS_AUTORADIOBUTTON,16,138,64,12
EDITTEXT edt1, 73,122, 26,12, WS_GROUP | ES_NUMBER
EDITTEXT edt2, 120,122, 26,12, WS_GROUP | ES_NUMBER
- RTEXT "&from:", stc2, 52,124, 20,8
+ RTEXT "&from:", stc2, 52,122, 20,8
RTEXT "&to:", stc3, 99,124, 20,8
-}
+ GROUPBOX "Copies", grp2, 160, 92, 120,64, WS_GROUP
+ LTEXT "Number of &copies:",stc5,168,105,68,8
+ ICON "",ico3,170,131,20,20,SS_CENTERIMAGE | WS_GROUP
+ CONTROL "C&ollate", chx2,"Button",BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,168,118,100,12
+ EDITTEXT edt3, 240,103, 32,12, WS_GROUP | ES_NUMBER
+ DEFPUSHBUTTON "OK",IDOK,176,164,50,14,WS_GROUP
+ PUSHBUTTON "Cancel",IDCANCEL,230,164,50,14,WS_GROUP
+ PUSHBUTTON "&Help",pshHelp,8,164,50,14,WS_GROUP
+END
PRINT32_SETUP DIALOG 32, 32, 288, 178
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | DS_CONTEXTHELP | DS_3DLOOK
--
1.9.1
More information about the wine-devel
mailing list