1 /** 2 * This file has no copyright assigned and is placed in the Public Domain. 3 * This file is part of the mingw-w64 runtime package. 4 * No warranty is given; refer to the file DISCLAIMER.PD within this package. 5 */ 6 #include <shlobj.h> 7 8 #define LBS_DISABLENOSCROLL 0x1000L 9 10 NEWFILEOPENV2ORD DIALOG DISCARDABLE 0,0,370,237 11 STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_VISIBLE | WS_CAPTION | 12 WS_SYSMENU | DS_CONTEXTHELP | WS_CLIPCHILDREN 13 CAPTION "Open" 14 FONT 8,"MS Shell Dlg" 15 BEGIN 16 LTEXT "Look &in:",stc4,4,7,57,8,SS_NOTIFY,WS_EX_RIGHT 17 COMBOBOX cmb2,66,4,174,300,CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | 18 WS_VSCROLL | WS_TABSTOP 19 20 LTEXT "",stc1,248,4,80,14,NOT WS_GROUP | NOT WS_VISIBLE,CONTROL "",ctl1,TOOLBARCLASSNAME,WS_TABSTOP | 21 CCS_NODIVIDER |CCS_NOPARENTALIGN | CCS_NORESIZE | TBSTYLE_WRAPABLE | 22 TBSTYLE_FLAT | TBSTYLE_TOOLTIPS | TBSTYLE_CUSTOMERASE,4,22,58,208 ,WS_EX_CLIENTEDGE 23 LISTBOX lst1,66,22,300,156,LBS_SORT | LBS_NOINTEGRALHEIGHT | LBS_MULTICOLUMN | 24 WS_HSCROLL | NOT WS_VISIBLE 25 26 LTEXT "File &name:",stc3,67,187,58,8,SS_NOTIFY 27 28 EDITTEXT edt1,130,184,164,12,WS_TABSTOP | ES_AUTOHSCROLL 29 30 CONTROL "",cmb13,WC_COMBOBOXEX,WS_TABSTOP| WS_VSCROLL | 31 CBS_DROPDOWN | CBS_AUTOHSCROLL,130,184,164,150 32 33 LTEXT "Files of &type:",stc2,67,203,58,8,SS_NOTIFY 34 COMBOBOX cmb1,130,201,164,100,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP 35 36 AUTOCHECKBOX "Open as &read-only",chx1,130,217,160,8,WS_TABSTOP 37 38 DEFPUSHBUTTON "&Open",IDOK,316,184,50,14,WS_GROUP 39 PUSHBUTTON "Cancel",IDCANCEL,316,200,50,14,WS_GROUP 40 PUSHBUTTON "&Help",pshHelp,316,218,50,14,WS_GROUP 41 END 42 43 NEWFILEOPENORD DIALOG DISCARDABLE 0,0,280,164 44 STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_VISIBLE | WS_CAPTION | 45 WS_SYSMENU | DS_CONTEXTHELP | WS_CLIPCHILDREN 46 CAPTION "Open" 47 FONT 8,"MS Shell Dlg" 48 BEGIN 49 LTEXT "Look &in:",stc4,7,6,27,8,SS_NOTIFY 50 COMBOBOX cmb2,36,3,148,300,CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | 51 WS_VSCROLL | WS_TABSTOP 52 53 LTEXT "",stc1,186,3,88,16,NOT WS_GROUP | NOT WS_VISIBLE 54 LISTBOX lst1,4,20,272,85,LBS_SORT | LBS_NOINTEGRALHEIGHT | LBS_MULTICOLUMN | 55 WS_HSCROLL | NOT WS_VISIBLE 56 57 LTEXT "File &name:",stc3,5,112,48,8,SS_NOTIFY 58 EDITTEXT edt1,54,111,155,12,WS_TABSTOP | ES_AUTOHSCROLL 59 60 CONTROL "",cmb13,WC_COMBOBOXEX,WS_TABSTOP| WS_VSCROLL | 61 CBS_DROPDOWN | CBS_AUTOHSCROLL,54,111,155,150 62 63 LTEXT "Files of &type:",stc2,5,131,48,8,SS_NOTIFY 64 COMBOBOX cmb1,54,129,155,100,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP 65 66 AUTOCHECKBOX "Open as &read-only",chx1,54,148,74,10,WS_TABSTOP 67 68 DEFPUSHBUTTON "&Open",IDOK,222,110,50,14 69 PUSHBUTTON "Cancel",IDCANCEL,222,128,50,14 70 PUSHBUTTON "&Help",pshHelp,222,145,50,14 71 END 72 73 FILEOPENORD DIALOG LOADONCALL MOVEABLE DISCARDABLE 36,24,268,134 74 STYLE WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_MODALFRAME | 75 DS_CONTEXTHELP | DS_3DLOOK 76 CAPTION "Open" 77 FONT 8,"MS Shell Dlg" 78 BEGIN 79 LTEXT "File &name:",stc3,6,6,76,9 80 EDITTEXT edt1,6,16,90,12,ES_AUTOHSCROLL | WS_TABSTOP | ES_OEMCONVERT 81 LISTBOX lst1,6,32,90,68,LBS_SORT | LBS_HASSTRINGS | LBS_NOTIFY | 82 LBS_DISABLENOSCROLL | WS_VSCROLL | 83 WS_TABSTOP | LBS_OWNERDRAWFIXED 84 85 LTEXT "&Folders:",-1,110,6,96,9 86 LTEXT "",stc1,110,16,96,9,SS_NOPREFIX 87 LISTBOX lst2,110,32,96,68,LBS_SORT | LBS_HASSTRINGS | LBS_NOTIFY | 88 LBS_DISABLENOSCROLL | WS_VSCROLL | 89 WS_TABSTOP | LBS_OWNERDRAWFIXED 90 91 LTEXT "List files of &type:",stc2,6,104,90,9 92 COMBOBOX cmb1,6,114,90,96,CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | WS_VSCROLL | WS_TABSTOP 93 94 LTEXT "Dri&ves:",stc4,110,104,96,9 95 COMBOBOX cmb2,110,114,96,68,CBS_SORT | CBS_HASSTRINGS | CBS_OWNERDRAWFIXED | 96 CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | WS_VSCROLL | WS_TABSTOP 97 98 DEFPUSHBUTTON "OK",IDOK,212,6,50,14,WS_GROUP 99 PUSHBUTTON "Cancel",IDCANCEL,212,24,50,14,WS_GROUP 100 101 PUSHBUTTON "&Help",pshHelp,212,46,50,14,WS_GROUP 102 AUTOCHECKBOX "&Read only",chx1,212,68,50,12,WS_TABSTOP | WS_GROUP 103 END 104 105 MULTIFILEOPENORD DIALOG LOADONCALL MOVEABLE DISCARDABLE 36,24,268,134 106 STYLE WS_CAPTION | WS_SYSMENU | WS_POPUP | DS_MODALFRAME | 107 DS_CONTEXTHELP | DS_3DLOOK 108 CAPTION "Open" 109 FONT 8,"MS Shell Dlg" 110 BEGIN 111 LTEXT "File &name:",stc3,6,6,76,9 112 EDITTEXT edt1,6,16,90,12,ES_AUTOHSCROLL | WS_TABSTOP | ES_OEMCONVERT 113 LISTBOX lst1,6,32,90,68,LBS_SORT | LBS_NOTIFY | LBS_DISABLENOSCROLL | WS_VSCROLL | 114 WS_TABSTOP | LBS_EXTENDEDSEL | LBS_HASSTRINGS | 115 LBS_OWNERDRAWFIXED 116 117 LTEXT "&Folders:",-1,110,6,96,9 118 LTEXT "",stc1,110,16,96,9,SS_NOPREFIX 119 LISTBOX lst2,110,32,96,68,LBS_SORT | LBS_HASSTRINGS | LBS_NOTIFY | 120 LBS_DISABLENOSCROLL | WS_VSCROLL | 121 WS_TABSTOP | LBS_OWNERDRAWFIXED 122 123 LTEXT "List files of &type:",stc2,6,104,90,9 124 COMBOBOX cmb1,6,114,90,96,CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | WS_VSCROLL | WS_TABSTOP 125 126 LTEXT "Dri&ves:",stc4,110,104,96,9 127 COMBOBOX cmb2,110,114,96,68,CBS_SORT | CBS_HASSTRINGS | CBS_OWNERDRAWFIXED | 128 CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | WS_VSCROLL | WS_TABSTOP 129 130 DEFPUSHBUTTON "OK",IDOK,212,6,50,14,WS_GROUP 131 PUSHBUTTON "Cancel",IDCANCEL,212,24,50,14,WS_GROUP 132 133 PUSHBUTTON "&Help",pshHelp,212,46,50,14,WS_GROUP 134 AUTOCHECKBOX "&Read only",chx1,212,68,50,12,WS_TABSTOP | WS_GROUP 135 END 136