1
1
Fork 0
mirror of https://github.com/pbatard/rufus.git synced 2024-08-14 23:57:05 +00:00

[ui] increase dialog width to better fit boot type

* Since we want to display the full version, "Grub4DOS 0.4.5" needs to fit in advanced mode.
  Plus, the extra width should help when we drop the separate progress dialog.
* Also ensure that the "Select ISO" button is the one that gets defaulted to when no USB is present.
This commit is contained in:
Pete Batard 2014-11-20 00:13:25 +00:00
parent 8b47e95eb5
commit 018aabf6f7
2 changed files with 109 additions and 109 deletions

View file

@ -1564,7 +1564,7 @@ void SetBoot(int fs, int bt)
IGNORE_RETVAL(ComboBox_SetItemData(hBootType, ComboBox_AddStringU(hBootType, tmp), DT_SYSLINUX_V6)); IGNORE_RETVAL(ComboBox_SetItemData(hBootType, ComboBox_AddStringU(hBootType, tmp), DT_SYSLINUX_V6));
IGNORE_RETVAL(ComboBox_SetItemData(hBootType, ComboBox_AddStringU(hBootType, "ReactOS"), DT_REACTOS)); IGNORE_RETVAL(ComboBox_SetItemData(hBootType, ComboBox_AddStringU(hBootType, "ReactOS"), DT_REACTOS));
IGNORE_RETVAL(ComboBox_SetItemData(hBootType, ComboBox_AddStringU(hBootType, "Grub 2.00-22"), DT_GRUB2)); IGNORE_RETVAL(ComboBox_SetItemData(hBootType, ComboBox_AddStringU(hBootType, "Grub 2.00-22"), DT_GRUB2));
IGNORE_RETVAL(ComboBox_SetItemData(hBootType, ComboBox_AddStringU(hBootType, "Grub4DOS"), DT_GRUB4DOS)); IGNORE_RETVAL(ComboBox_SetItemData(hBootType, ComboBox_AddStringU(hBootType, "Grub4DOS 0.4.5"), DT_GRUB4DOS));
} }
if ((!advanced_mode) && (selection_default >= DT_SYSLINUX_V4)) { if ((!advanced_mode) && (selection_default >= DT_SYSLINUX_V4)) {
selection_default = DT_FREEDOS; selection_default = DT_FREEDOS;

View file

@ -30,44 +30,44 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
// Dialog // Dialog
// //
IDD_DIALOG DIALOGEX 12, 12, 227, 329 IDD_DIALOG DIALOGEX 12, 12, 242, 329
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Rufus 1.5.0.544" CAPTION "Rufus 1.5.0.545"
FONT 8, "Segoe UI", 400, 0, 0x1 FONT 8, "Segoe UI", 400, 0, 0x1
BEGIN BEGIN
DEFPUSHBUTTON "Start",IDC_START,113,291,50,14 DEFPUSHBUTTON "Start",IDC_START,127,291,50,14
LTEXT "Device",IDS_DEVICE_TXT,9,6,193,8 PUSHBUTTON "...",IDC_SELECT_ISO,207,182,22,14,BS_ICON
PUSHBUTTON "",IDC_LANG,204,2,16,13,BS_TOP | BS_FLAT LTEXT "Device",IDS_DEVICE_TXT,9,6,208,8
COMBOBOX IDC_DEVICE,8,17,211,33,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP PUSHBUTTON "",IDC_LANG,217,2,17,13,BS_TOP | BS_FLAT
LTEXT "Partition scheme and target system type",IDS_PARTITION_TYPE_TXT,9,35,207,8 COMBOBOX IDC_DEVICE,8,17,226,33,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
COMBOBOX IDC_PARTITION_TYPE,8,46,211,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP LTEXT "Partition scheme and target system type",IDS_PARTITION_TYPE_TXT,9,35,222,8
LTEXT "File system",IDS_FILESYSTEM_TXT,9,64,207,10 COMBOBOX IDC_PARTITION_TYPE,8,46,226,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
COMBOBOX IDC_FILESYSTEM,8,75,211,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP LTEXT "File system",IDS_FILESYSTEM_TXT,9,64,222,10
LTEXT "Cluster size",IDS_CLUSTERSIZE_TXT,9,93,207,10 COMBOBOX IDC_FILESYSTEM,8,75,226,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
COMBOBOX IDC_CLUSTERSIZE,8,104,211,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP LTEXT "Cluster size",IDS_CLUSTERSIZE_TXT,9,93,222,10
LTEXT "New volume label",IDS_LABEL_TXT,9,121,207,10 COMBOBOX IDC_CLUSTERSIZE,8,104,226,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
EDITTEXT IDC_LABEL,8,131,211,13,ES_AUTOHSCROLL LTEXT "New volume label",IDS_LABEL_TXT,9,121,222,10
GROUPBOX "Format Options ",IDS_FORMAT_OPTIONS_GRP,7,149,212,65 EDITTEXT IDC_LABEL,8,131,226,13,ES_AUTOHSCROLL
PUSHBUTTON "",IDC_ADVANCED,68,148,14,10,BS_TOP | BS_FLAT GROUPBOX "Format Options ",IDS_FORMAT_OPTIONS_GRP,7,149,227,65
PUSHBUTTON "",IDC_ADVANCED,69,148,14,10,BS_TOP | BS_FLAT
CONTROL "Check device for bad blocks",IDC_BADBLOCKS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,161,112,10 CONTROL "Check device for bad blocks",IDC_BADBLOCKS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,161,112,10
COMBOBOX IDC_NBPASSES,128,159,60,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP COMBOBOX IDC_NBPASSES,128,159,75,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
CONTROL "Quick format",IDC_QUICKFORMAT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,173,121,10 CONTROL "Quick format",IDC_QUICKFORMAT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,173,121,10
CONTROL "Create a bootable disk using",IDC_BOOT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,185,112,10 CONTROL "Create a bootable disk using",IDC_BOOT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,185,112,10
COMBOBOX IDC_BOOTTYPE,128,183,60,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP COMBOBOX IDC_BOOTTYPE,128,183,75,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
PUSHBUTTON "...",IDC_SELECT_ISO,192,182,22,14,BS_ICON
CONTROL "Create extended label and icon files",IDC_SET_ICON,"Button", CONTROL "Create extended label and icon files",IDC_SET_ICON,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,13,198,201,10 BS_AUTOCHECKBOX | WS_TABSTOP,13,198,216,10
GROUPBOX "Advanced Options",IDS_ADVANCED_OPTIONS_GRP,7,210,212,54 GROUPBOX "Advanced Options",IDS_ADVANCED_OPTIONS_GRP,7,210,227,54
CONTROL "List USB Hard Drives",IDC_ENABLE_FIXED_DISKS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,222,201,10 CONTROL "List USB Hard Drives",IDC_ENABLE_FIXED_DISKS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,222,216,10
CONTROL "Add fixes for old BIOSes (extra partition, align, etc.)",IDC_EXTRA_PARTITION,"Button", CONTROL "Add fixes for old BIOSes (extra partition, align, etc.)",IDC_EXTRA_PARTITION,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,13,235,201,10 BS_AUTOCHECKBOX | WS_TABSTOP,13,235,216,10
CONTROL "Use Rufus MBR with BIOS ID",IDC_RUFUS_MBR,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,248,112,10 CONTROL "Use Rufus MBR with BIOS ID",IDC_RUFUS_MBR,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,248,112,10
COMBOBOX IDC_DISK_ID,128,246,85,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP COMBOBOX IDC_DISK_ID,128,246,100,31,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
CONTROL "",IDC_PROGRESS,"msctls_progress32",PBS_SMOOTH | WS_BORDER,8,272,210,9 CONTROL "",IDC_PROGRESS,"msctls_progress32",PBS_SMOOTH | WS_BORDER,8,272,225,9
PUSHBUTTON "About...",IDC_ABOUT,8,291,50,14 PUSHBUTTON "About...",IDC_ABOUT,8,291,50,14
PUSHBUTTON "Log",IDC_LOG,63,291,21,14 PUSHBUTTON "Log",IDC_LOG,63,291,21,14
PUSHBUTTON "T",IDC_TEST,90,291,12,14,NOT WS_VISIBLE PUSHBUTTON "T",IDC_TEST,90,291,12,14,NOT WS_VISIBLE
PUSHBUTTON "Close",IDCANCEL,168,291,50,14 PUSHBUTTON "Close",IDCANCEL,183,291,50,14
END END
IDD_ABOUTBOX DIALOGEX 0, 0, 319, 237 IDD_ABOUTBOX DIALOGEX 0, 0, 319, 237
@ -162,44 +162,44 @@ BEGIN
EDITTEXT IDC_DOWNLOAD_URL,15,191,351,13,ES_AUTOHSCROLL | ES_READONLY EDITTEXT IDC_DOWNLOAD_URL,15,191,351,13,ES_AUTOHSCROLL | ES_READONLY
END END
IDD_DIALOG_XP DIALOGEX 12, 12, 227, 329 IDD_DIALOG_XP DIALOGEX 12, 12, 242, 329
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Rufus 1.5.0.544" CAPTION "Rufus 1.5.0.545"
FONT 8, "MS Shell Dlg", 400, 0, 0x1 FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN BEGIN
DEFPUSHBUTTON "Start",IDC_START,113,291,50,14 DEFPUSHBUTTON "Start",IDC_START,127,291,50,14
LTEXT "Device",IDS_DEVICE_TXT,9,6,193,8 PUSHBUTTON "...",IDC_SELECT_ISO,207,182,22,14,BS_ICON
PUSHBUTTON "",IDC_LANG,204,2,16,13,BS_TOP | BS_FLAT LTEXT "Device",IDS_DEVICE_TXT,9,6,208,8
COMBOBOX IDC_DEVICE,8,17,211,33,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP PUSHBUTTON "",IDC_LANG,217,2,17,13,BS_TOP | BS_FLAT
LTEXT "Partition scheme and target system type",IDS_PARTITION_TYPE_TXT,9,35,207,8 COMBOBOX IDC_DEVICE,8,17,226,33,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
COMBOBOX IDC_PARTITION_TYPE,8,46,211,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP LTEXT "Partition scheme and target system type",IDS_PARTITION_TYPE_TXT,9,35,222,8
LTEXT "File system",IDS_FILESYSTEM_TXT,9,64,207,10 COMBOBOX IDC_PARTITION_TYPE,8,46,226,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
COMBOBOX IDC_FILESYSTEM,8,75,211,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP LTEXT "File system",IDS_FILESYSTEM_TXT,9,64,222,10
LTEXT "Cluster size",IDS_CLUSTERSIZE_TXT,9,93,207,10 COMBOBOX IDC_FILESYSTEM,8,75,226,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
COMBOBOX IDC_CLUSTERSIZE,8,104,211,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP LTEXT "Cluster size",IDS_CLUSTERSIZE_TXT,9,93,222,10
LTEXT "New volume label",IDS_LABEL_TXT,9,121,207,10 COMBOBOX IDC_CLUSTERSIZE,8,104,226,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
EDITTEXT IDC_LABEL,8,131,211,13,ES_AUTOHSCROLL LTEXT "New volume label",IDS_LABEL_TXT,9,121,222,10
GROUPBOX "Format Options ",IDS_FORMAT_OPTIONS_GRP,7,149,212,65 EDITTEXT IDC_LABEL,8,131,226,13,ES_AUTOHSCROLL
PUSHBUTTON "",IDC_ADVANCED,68,148,14,10,BS_TOP | BS_FLAT GROUPBOX "Format Options ",IDS_FORMAT_OPTIONS_GRP,7,149,227,65
PUSHBUTTON "",IDC_ADVANCED,69,148,14,10,BS_TOP | BS_FLAT
CONTROL "Check device for bad blocks",IDC_BADBLOCKS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,161,112,10 CONTROL "Check device for bad blocks",IDC_BADBLOCKS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,161,112,10
COMBOBOX IDC_NBPASSES,128,159,60,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP COMBOBOX IDC_NBPASSES,128,159,75,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
CONTROL "Quick format",IDC_QUICKFORMAT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,173,121,10 CONTROL "Quick format",IDC_QUICKFORMAT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,173,121,10
CONTROL "Create a bootable disk using",IDC_BOOT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,185,112,10 CONTROL "Create a bootable disk using",IDC_BOOT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,185,112,10
COMBOBOX IDC_BOOTTYPE,128,183,60,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP COMBOBOX IDC_BOOTTYPE,128,183,75,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
PUSHBUTTON "...",IDC_SELECT_ISO,192,182,22,14,BS_ICON
CONTROL "Create extended label and icon files",IDC_SET_ICON,"Button", CONTROL "Create extended label and icon files",IDC_SET_ICON,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,13,198,201,10 BS_AUTOCHECKBOX | WS_TABSTOP,13,198,216,10
GROUPBOX "Advanced Options",IDS_ADVANCED_OPTIONS_GRP,7,210,212,54 GROUPBOX "Advanced Options",IDS_ADVANCED_OPTIONS_GRP,7,210,227,54
CONTROL "List USB Hard Drives",IDC_ENABLE_FIXED_DISKS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,222,201,10 CONTROL "List USB Hard Drives",IDC_ENABLE_FIXED_DISKS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,222,216,10
CONTROL "Add fixes for old BIOSes (extra partition, align, etc.)",IDC_EXTRA_PARTITION,"Button", CONTROL "Add fixes for old BIOSes (extra partition, align, etc.)",IDC_EXTRA_PARTITION,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,13,235,201,10 BS_AUTOCHECKBOX | WS_TABSTOP,13,235,216,10
CONTROL "Use Rufus MBR with BIOS ID",IDC_RUFUS_MBR,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,248,112,10 CONTROL "Use Rufus MBR with BIOS ID",IDC_RUFUS_MBR,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,248,112,10
COMBOBOX IDC_DISK_ID,128,246,85,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP COMBOBOX IDC_DISK_ID,128,246,100,31,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
CONTROL "",IDC_PROGRESS,"msctls_progress32",PBS_SMOOTH | WS_BORDER,8,272,210,9 CONTROL "",IDC_PROGRESS,"msctls_progress32",PBS_SMOOTH | WS_BORDER,8,272,225,9
PUSHBUTTON "About...",IDC_ABOUT,8,291,50,14 PUSHBUTTON "About...",IDC_ABOUT,8,291,50,14
PUSHBUTTON "Log",IDC_LOG,63,291,21,14 PUSHBUTTON "Log",IDC_LOG,63,291,21,14
PUSHBUTTON "T",IDC_TEST,90,291,12,14,NOT WS_VISIBLE PUSHBUTTON "T",IDC_TEST,90,291,12,14,NOT WS_VISIBLE
PUSHBUTTON "Close",IDCANCEL,168,291,50,14 PUSHBUTTON "Close",IDCANCEL,183,291,50,14
END END
IDD_ABOUTBOX_XP DIALOGEX 0, 0, 319, 237 IDD_ABOUTBOX_XP DIALOGEX 0, 0, 319, 237
@ -294,45 +294,45 @@ BEGIN
EDITTEXT IDC_DOWNLOAD_URL,15,191,351,13,ES_AUTOHSCROLL | ES_READONLY EDITTEXT IDC_DOWNLOAD_URL,15,191,351,13,ES_AUTOHSCROLL | ES_READONLY
END END
IDD_DIALOG_RTL DIALOGEX 12, 12, 227, 329 IDD_DIALOG_RTL DIALOGEX 12, 12, 242, 329
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_RTLREADING | WS_EX_APPWINDOW | WS_EX_LAYOUTRTL EXSTYLE WS_EX_RTLREADING | WS_EX_APPWINDOW | WS_EX_LAYOUTRTL
CAPTION "Rufus 1.5.0.544" CAPTION "Rufus 1.5.0.545"
FONT 8, "Segoe UI", 400, 0, 0x1 FONT 8, "Segoe UI", 400, 0, 0x1
BEGIN BEGIN
DEFPUSHBUTTON "Start",IDC_START,113,291,50,14 DEFPUSHBUTTON "Start",IDC_START,127,291,50,14
LTEXT "Device",IDS_DEVICE_TXT,9,6,193,8 PUSHBUTTON "...",IDC_SELECT_ISO,207,182,22,14,BS_ICON
PUSHBUTTON "",IDC_LANG,204,2,16,13,BS_TOP | BS_FLAT LTEXT "Device",IDS_DEVICE_TXT,9,6,208,8
COMBOBOX IDC_DEVICE,8,17,211,33,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP PUSHBUTTON "",IDC_LANG,217,2,17,13,BS_TOP | BS_FLAT
LTEXT "Partition scheme and target system type",IDS_PARTITION_TYPE_TXT,9,35,207,8 COMBOBOX IDC_DEVICE,8,17,226,33,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
COMBOBOX IDC_PARTITION_TYPE,8,46,211,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP LTEXT "Partition scheme and target system type",IDS_PARTITION_TYPE_TXT,9,35,222,8
LTEXT "File system",IDS_FILESYSTEM_TXT,9,64,207,10 COMBOBOX IDC_PARTITION_TYPE,8,46,226,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
COMBOBOX IDC_FILESYSTEM,8,75,211,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP LTEXT "File system",IDS_FILESYSTEM_TXT,9,64,222,10
LTEXT "Cluster size",IDS_CLUSTERSIZE_TXT,9,93,207,10 COMBOBOX IDC_FILESYSTEM,8,75,226,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
COMBOBOX IDC_CLUSTERSIZE,8,104,211,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP LTEXT "Cluster size",IDS_CLUSTERSIZE_TXT,9,93,222,10
LTEXT "New volume label",IDS_LABEL_TXT,9,121,207,10 COMBOBOX IDC_CLUSTERSIZE,8,104,226,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
EDITTEXT IDC_LABEL,8,131,211,13,ES_AUTOHSCROLL LTEXT "New volume label",IDS_LABEL_TXT,9,121,222,10
GROUPBOX "Format Options ",IDS_FORMAT_OPTIONS_GRP,7,149,212,65 EDITTEXT IDC_LABEL,8,131,226,13,ES_AUTOHSCROLL
PUSHBUTTON "",IDC_ADVANCED,68,148,14,10,BS_TOP | BS_FLAT GROUPBOX "Format Options ",IDS_FORMAT_OPTIONS_GRP,7,149,227,65
PUSHBUTTON "",IDC_ADVANCED,69,148,14,10,BS_TOP | BS_FLAT
CONTROL "Check device for bad blocks",IDC_BADBLOCKS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,161,112,10 CONTROL "Check device for bad blocks",IDC_BADBLOCKS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,161,112,10
COMBOBOX IDC_NBPASSES,128,159,60,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP COMBOBOX IDC_NBPASSES,128,159,75,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
CONTROL "Quick format",IDC_QUICKFORMAT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,173,121,10 CONTROL "Quick format",IDC_QUICKFORMAT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,173,121,10
CONTROL "Create a bootable disk using",IDC_BOOT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,185,112,10 CONTROL "Create a bootable disk using",IDC_BOOT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,185,112,10
COMBOBOX IDC_BOOTTYPE,128,183,60,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP COMBOBOX IDC_BOOTTYPE,128,183,75,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
PUSHBUTTON "...",IDC_SELECT_ISO,192,182,22,14,BS_ICON
CONTROL "Create extended label and icon files",IDC_SET_ICON,"Button", CONTROL "Create extended label and icon files",IDC_SET_ICON,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,13,198,201,10 BS_AUTOCHECKBOX | WS_TABSTOP,13,198,216,10
GROUPBOX "Advanced Options",IDS_ADVANCED_OPTIONS_GRP,7,210,212,54 GROUPBOX "Advanced Options",IDS_ADVANCED_OPTIONS_GRP,7,210,227,54
CONTROL "List USB Hard Drives",IDC_ENABLE_FIXED_DISKS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,222,201,10 CONTROL "List USB Hard Drives",IDC_ENABLE_FIXED_DISKS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,222,216,10
CONTROL "Add fixes for old BIOSes (extra partition, align, etc.)",IDC_EXTRA_PARTITION,"Button", CONTROL "Add fixes for old BIOSes (extra partition, align, etc.)",IDC_EXTRA_PARTITION,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,13,235,201,10 BS_AUTOCHECKBOX | WS_TABSTOP,13,235,216,10
CONTROL "Use Rufus MBR with BIOS ID",IDC_RUFUS_MBR,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,248,112,10 CONTROL "Use Rufus MBR with BIOS ID",IDC_RUFUS_MBR,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,248,112,10
COMBOBOX IDC_DISK_ID,128,246,85,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP COMBOBOX IDC_DISK_ID,128,246,100,31,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
CONTROL "",IDC_PROGRESS,"msctls_progress32",PBS_SMOOTH | WS_BORDER,8,272,210,9 CONTROL "",IDC_PROGRESS,"msctls_progress32",PBS_SMOOTH | WS_BORDER,8,272,225,9
PUSHBUTTON "About...",IDC_ABOUT,8,291,50,14 PUSHBUTTON "About...",IDC_ABOUT,8,291,50,14
PUSHBUTTON "Log",IDC_LOG,63,291,21,14 PUSHBUTTON "Log",IDC_LOG,63,291,21,14
PUSHBUTTON "T",IDC_TEST,90,291,12,14,NOT WS_VISIBLE PUSHBUTTON "T",IDC_TEST,90,291,12,14,NOT WS_VISIBLE
PUSHBUTTON "Close",IDCANCEL,168,291,50,14 PUSHBUTTON "Close",IDCANCEL,183,291,50,14
END END
IDD_ABOUTBOX_RTL DIALOGEX 0, 0, 319, 237 IDD_ABOUTBOX_RTL DIALOGEX 0, 0, 319, 237
@ -434,45 +434,45 @@ BEGIN
EDITTEXT IDC_DOWNLOAD_URL,15,191,351,13,ES_AUTOHSCROLL | ES_READONLY EDITTEXT IDC_DOWNLOAD_URL,15,191,351,13,ES_AUTOHSCROLL | ES_READONLY
END END
IDD_DIALOG_RTL_XP DIALOGEX 12, 12, 227, 329 IDD_DIALOG_RTL_XP DIALOGEX 12, 12, 242, 329
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_RTLREADING | WS_EX_APPWINDOW | WS_EX_LAYOUTRTL EXSTYLE WS_EX_RTLREADING | WS_EX_APPWINDOW | WS_EX_LAYOUTRTL
CAPTION "Rufus 1.5.0.544" CAPTION "Rufus 1.5.0.545"
FONT 8, "MS Shell Dlg", 400, 0, 0x1 FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN BEGIN
DEFPUSHBUTTON "Start",IDC_START,113,291,50,14 DEFPUSHBUTTON "Start",IDC_START,127,291,50,14
LTEXT "Device",IDS_DEVICE_TXT,9,6,193,8 PUSHBUTTON "...",IDC_SELECT_ISO,207,182,22,14,BS_ICON
PUSHBUTTON "",IDC_LANG,204,2,16,13,BS_TOP | BS_FLAT LTEXT "Device",IDS_DEVICE_TXT,9,6,208,8
COMBOBOX IDC_DEVICE,8,17,211,33,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP PUSHBUTTON "",IDC_LANG,217,2,17,13,BS_TOP | BS_FLAT
LTEXT "Partition scheme and target system type",IDS_PARTITION_TYPE_TXT,9,35,207,8 COMBOBOX IDC_DEVICE,8,17,226,33,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
COMBOBOX IDC_PARTITION_TYPE,8,46,211,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP LTEXT "Partition scheme and target system type",IDS_PARTITION_TYPE_TXT,9,35,222,8
LTEXT "File system",IDS_FILESYSTEM_TXT,9,64,207,10 COMBOBOX IDC_PARTITION_TYPE,8,46,226,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
COMBOBOX IDC_FILESYSTEM,8,75,211,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP LTEXT "File system",IDS_FILESYSTEM_TXT,9,64,222,10
LTEXT "Cluster size",IDS_CLUSTERSIZE_TXT,9,93,207,10 COMBOBOX IDC_FILESYSTEM,8,75,226,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
COMBOBOX IDC_CLUSTERSIZE,8,104,211,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP LTEXT "Cluster size",IDS_CLUSTERSIZE_TXT,9,93,222,10
LTEXT "New volume label",IDS_LABEL_TXT,9,121,207,10 COMBOBOX IDC_CLUSTERSIZE,8,104,226,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
EDITTEXT IDC_LABEL,8,131,211,13,ES_AUTOHSCROLL LTEXT "New volume label",IDS_LABEL_TXT,9,121,222,10
GROUPBOX "Format Options ",IDS_FORMAT_OPTIONS_GRP,7,149,212,65 EDITTEXT IDC_LABEL,8,131,226,13,ES_AUTOHSCROLL
PUSHBUTTON "",IDC_ADVANCED,68,148,14,10,BS_TOP | BS_FLAT GROUPBOX "Format Options ",IDS_FORMAT_OPTIONS_GRP,7,149,227,65
PUSHBUTTON "",IDC_ADVANCED,69,148,14,10,BS_TOP | BS_FLAT
CONTROL "Check device for bad blocks",IDC_BADBLOCKS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,161,112,10 CONTROL "Check device for bad blocks",IDC_BADBLOCKS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,161,112,10
COMBOBOX IDC_NBPASSES,128,159,60,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP COMBOBOX IDC_NBPASSES,128,159,75,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
CONTROL "Quick format",IDC_QUICKFORMAT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,173,121,10 CONTROL "Quick format",IDC_QUICKFORMAT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,173,121,10
CONTROL "Create a bootable disk using",IDC_BOOT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,185,112,10 CONTROL "Create a bootable disk using",IDC_BOOT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,185,112,10
COMBOBOX IDC_BOOTTYPE,128,183,60,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP COMBOBOX IDC_BOOTTYPE,128,183,75,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
PUSHBUTTON "...",IDC_SELECT_ISO,192,182,22,14,BS_ICON
CONTROL "Create extended label and icon files",IDC_SET_ICON,"Button", CONTROL "Create extended label and icon files",IDC_SET_ICON,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,13,198,201,10 BS_AUTOCHECKBOX | WS_TABSTOP,13,198,216,10
GROUPBOX "Advanced Options",IDS_ADVANCED_OPTIONS_GRP,7,210,212,54 GROUPBOX "Advanced Options",IDS_ADVANCED_OPTIONS_GRP,7,210,227,54
CONTROL "List USB Hard Drives",IDC_ENABLE_FIXED_DISKS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,222,201,10 CONTROL "List USB Hard Drives",IDC_ENABLE_FIXED_DISKS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,222,216,10
CONTROL "Add fixes for old BIOSes (extra partition, align, etc.)",IDC_EXTRA_PARTITION,"Button", CONTROL "Add fixes for old BIOSes (extra partition, align, etc.)",IDC_EXTRA_PARTITION,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,13,235,201,10 BS_AUTOCHECKBOX | WS_TABSTOP,13,235,216,10
CONTROL "Use Rufus MBR with BIOS ID",IDC_RUFUS_MBR,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,248,112,10 CONTROL "Use Rufus MBR with BIOS ID",IDC_RUFUS_MBR,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,248,112,10
COMBOBOX IDC_DISK_ID,128,246,85,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP COMBOBOX IDC_DISK_ID,128,246,100,31,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
CONTROL "",IDC_PROGRESS,"msctls_progress32",PBS_SMOOTH | WS_BORDER,8,272,210,9 CONTROL "",IDC_PROGRESS,"msctls_progress32",PBS_SMOOTH | WS_BORDER,8,272,225,9
PUSHBUTTON "About...",IDC_ABOUT,8,291,50,14 PUSHBUTTON "About...",IDC_ABOUT,8,291,50,14
PUSHBUTTON "Log",IDC_LOG,63,291,21,14 PUSHBUTTON "Log",IDC_LOG,63,291,21,14
PUSHBUTTON "T",IDC_TEST,90,291,12,14,NOT WS_VISIBLE PUSHBUTTON "T",IDC_TEST,90,291,12,14,NOT WS_VISIBLE
PUSHBUTTON "Close",IDCANCEL,168,291,50,14 PUSHBUTTON "Close",IDCANCEL,183,291,50,14
END END
IDD_ABOUTBOX_RTL_XP DIALOGEX 0, 0, 319, 237 IDD_ABOUTBOX_RTL_XP DIALOGEX 0, 0, 319, 237
@ -701,8 +701,8 @@ END
// //
VS_VERSION_INFO VERSIONINFO VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,5,0,544 FILEVERSION 1,5,0,545
PRODUCTVERSION 1,5,0,544 PRODUCTVERSION 1,5,0,545
FILEFLAGSMASK 0x3fL FILEFLAGSMASK 0x3fL
#ifdef _DEBUG #ifdef _DEBUG
FILEFLAGS 0x1L FILEFLAGS 0x1L
@ -719,13 +719,13 @@ BEGIN
BEGIN BEGIN
VALUE "CompanyName", "Akeo Consulting (http://akeo.ie)" VALUE "CompanyName", "Akeo Consulting (http://akeo.ie)"
VALUE "FileDescription", "Rufus" VALUE "FileDescription", "Rufus"
VALUE "FileVersion", "1.5.0.544" VALUE "FileVersion", "1.5.0.545"
VALUE "InternalName", "Rufus" VALUE "InternalName", "Rufus"
VALUE "LegalCopyright", "© 2011-2014 Pete Batard (GPL v3)" VALUE "LegalCopyright", "© 2011-2014 Pete Batard (GPL v3)"
VALUE "LegalTrademarks", "http://www.gnu.org/copyleft/gpl.html" VALUE "LegalTrademarks", "http://www.gnu.org/copyleft/gpl.html"
VALUE "OriginalFilename", "rufus.exe" VALUE "OriginalFilename", "rufus.exe"
VALUE "ProductName", "Rufus" VALUE "ProductName", "Rufus"
VALUE "ProductVersion", "1.5.0.544" VALUE "ProductVersion", "1.5.0.545"
END END
END END
BLOCK "VarFileInfo" BLOCK "VarFileInfo"