255 lines
12 KiB
Plaintext
255 lines
12 KiB
Plaintext
#include <windows.h>
|
|
#include <dlgs.h>
|
|
|
|
SYSMENU MENU LOADONCALL MOVEABLE DISCARDABLE
|
|
{
|
|
MENUITEM "&Restore", 61728
|
|
MENUITEM "&Move", 61456
|
|
MENUITEM "&Size", 61440
|
|
MENUITEM "Mi&nimize", 61472
|
|
MENUITEM "Ma&ximize", 61488
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "&Close\tAlt-F4", 61536
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "&Switch to ...\tCtrl-Esc", 61744
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "&About WINE ...", 61761
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "&Put mark in debug log", 61762
|
|
}
|
|
|
|
EDITMENU MENU LOADONCALL MOVEABLE DISCARDABLE
|
|
{
|
|
POPUP ""
|
|
BEGIN
|
|
MENUITEM "&Undo", EM_UNDO32
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "Cu&t", WM_CUT
|
|
MENUITEM "&Copy", WM_COPY
|
|
MENUITEM "&Paste", WM_PASTE
|
|
MENUITEM "&Delete", WM_CLEAR
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "Select &All", EM_SETSEL32
|
|
END
|
|
}
|
|
|
|
MSGBOX DIALOG 100, 80, 216, 168
|
|
STYLE DS_SYSMODAL | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
|
|
BEGIN
|
|
ICON "", 1088, 8, 20, 16, 16, WS_CHILD | WS_VISIBLE
|
|
LTEXT "", 100, 32, 4, 176, 48, WS_CHILD | WS_VISIBLE | WS_GROUP
|
|
PUSHBUTTON "&OK", 1, 16, 56, 40, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
|
|
PUSHBUTTON "&Cancel", 2, 64, 56, 40, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
|
|
PUSHBUTTON "&Abort", 3, 112, 56, 40, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
|
|
PUSHBUTTON "&Retry", 4, 160, 56, 40, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
|
|
PUSHBUTTON "&Ignore", 5, 208, 56, 40, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
|
|
PUSHBUTTON "&Yes", 6, 256, 56, 40, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
|
|
PUSHBUTTON "&No", 7, 304, 56, 40, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
|
|
END
|
|
|
|
SHELL_ABOUT_MSGBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 15, 40, 210, 152
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "About %s"
|
|
FONT 10, "System"
|
|
{
|
|
DEFPUSHBUTTON "OK", 1, 153, 130, 50, 12, WS_TABSTOP
|
|
LISTBOX 99, 8, 65, 137, 82, LBS_NOTIFY | WS_VSCROLL | WS_BORDER
|
|
ICON "", 1088, 189, 10, 14, 16
|
|
LTEXT "", 100, 8, 10, 137, 33
|
|
LTEXT "Wine was brought to you by:", 98, 8, 55, 137, 10
|
|
}
|
|
|
|
OPEN_FILE DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 275, 134
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Open"
|
|
FONT 8, "Helv"
|
|
{
|
|
LTEXT "File &Name:", 1090, 6, 6, 76, 9
|
|
EDITTEXT 1152, 6, 16, 90, 12, ES_AUTOHSCROLL | ES_OEMCONVERT | WS_BORDER | WS_TABSTOP
|
|
LISTBOX 1120, 6, 32, 90, 68, LBS_STANDARD | LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | LBS_DISABLENOSCROLL | WS_TABSTOP
|
|
LTEXT "&Directories:", -1, 110, 6, 92, 9
|
|
LTEXT "", 1088, 110, 18, 92, 9, SS_NOPREFIX | WS_GROUP
|
|
LISTBOX 1121, 110, 32, 92, 68, LBS_STANDARD | LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | LBS_DISABLENOSCROLL | WS_TABSTOP
|
|
LTEXT "List Files of &Type:", 1089, 6, 104, 90, 9
|
|
COMBOBOX 1136, 6, 114, 90, 36, CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | WS_BORDER | WS_VSCROLL | WS_TABSTOP
|
|
LTEXT "Dri&ves:", 1091, 110, 104, 92, 9
|
|
COMBOBOX 1137, 110, 114, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
|
|
DEFPUSHBUTTON "Open", 1, 208, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
|
|
PUSHBUTTON "Cancel", 2, 208, 24, 56, 14, WS_GROUP | WS_TABSTOP
|
|
PUSHBUTTON "&Help", 1038, 208, 46, 56, 14, WS_GROUP | WS_TABSTOP
|
|
CHECKBOX "&Read Only", 1040, 208, 68, 50, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
|
|
}
|
|
|
|
|
|
SAVE_FILE DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 275, 134
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Save As ..."
|
|
FONT 8, "Helv"
|
|
{
|
|
LTEXT "File &Name:", 1090, 6, 6, 76, 9
|
|
EDITTEXT 1152, 6, 16, 90, 12, ES_AUTOHSCROLL | ES_OEMCONVERT | WS_BORDER | WS_TABSTOP
|
|
LISTBOX 1120, 6, 32, 90, 68, LBS_STANDARD | LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | LBS_DISABLENOSCROLL | WS_TABSTOP
|
|
LTEXT "&Directories:", -1, 110, 6, 92, 9
|
|
LTEXT "", 1088, 110, 18, 92, 9, SS_NOPREFIX | WS_GROUP
|
|
LISTBOX 1121, 110, 32, 92, 68, LBS_STANDARD | LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | LBS_DISABLENOSCROLL | WS_TABSTOP
|
|
LTEXT "List Files of &Type:", 1089, 6, 104, 90, 9
|
|
COMBOBOX 1136, 6, 114, 90, 36, CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | WS_BORDER | WS_VSCROLL | WS_TABSTOP
|
|
LTEXT "Dri&ves:", 1091, 110, 104, 92, 9
|
|
COMBOBOX 1137, 110, 114, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
|
|
DEFPUSHBUTTON "Save As", 1, 208, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
|
|
PUSHBUTTON "Cancel", 2, 208, 24, 56, 14, WS_GROUP | WS_TABSTOP
|
|
PUSHBUTTON "&Help", 1038, 208, 46, 56, 14, WS_GROUP | WS_TABSTOP
|
|
CHECKBOX "&Read Only", 1040, 208, 68, 50, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
|
|
}
|
|
|
|
|
|
PRINT DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 264, 134
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Print"
|
|
FONT 8, "Helv"
|
|
{
|
|
LTEXT "Printer:", 1088, 6, 6, 40, 9
|
|
LTEXT "", 1089, 60, 6, 150, 9
|
|
GROUPBOX "Print Range", 1072, 6, 30, 160, 65, BS_GROUPBOX
|
|
RADIOBUTTON "&All", 1056, 16, 45, 60, 12
|
|
RADIOBUTTON "S&election", 1057, 16, 60, 60, 12
|
|
RADIOBUTTON "&Pages", 1058, 16, 75, 60, 12
|
|
DEFPUSHBUTTON "Print", 1, 206, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
|
|
PUSHBUTTON "Cancel", 2, 206, 24, 56, 14, WS_GROUP | WS_TABSTOP
|
|
PUSHBUTTON "&Setup", 1024, 206, 46, 56, 14, WS_GROUP | WS_TABSTOP
|
|
LTEXT "&From:", 1090, 60, 80, 30, 9
|
|
LTEXT "&To:", 1091, 120, 80, 30, 9
|
|
LTEXT "Print &Quality:", 1092, 6, 100, 76, 9
|
|
COMBOBOX 1136, 80, 100, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
|
|
CHECKBOX "Print to Fi&le", 1040, 20, 100, 50, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
|
|
CHECKBOX "Condensed", 1041, 160, 100, 50, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
|
|
}
|
|
|
|
|
|
PRINT_SETUP DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 264, 134
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Print Setup"
|
|
FONT 8, "Helv"
|
|
{
|
|
GROUPBOX "Printer", 1072, 6, 10, 180, 65, BS_GROUPBOX
|
|
RADIOBUTTON "&Default Printer", 1056, 16, 20, 80, 12
|
|
LTEXT "[none]", 1088, 35, 35, 120, 9
|
|
RADIOBUTTON "Specific &Printer", 1057, 16, 50, 80, 12
|
|
COMBOBOX 1136, 35, 65, 149, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
|
|
DEFPUSHBUTTON "OK", 1, 206, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
|
|
PUSHBUTTON "Cancel", 2, 206, 24, 56, 14, WS_GROUP | WS_TABSTOP
|
|
PUSHBUTTON "&Setup", 1024, 206, 46, 56, 14, WS_GROUP | WS_TABSTOP
|
|
GROUPBOX "Orientation", 1073, 6, 85, 100, 50, BS_GROUPBOX
|
|
RADIOBUTTON "Po&rtrait", 1058, 50, 100, 40, 12
|
|
RADIOBUTTON "&Landscape", 1059, 50, 115, 40, 12
|
|
ICON "LANDSCAP", 1097, 10, 95, 32, 32
|
|
ICON "PORTRAIT", 1098, 10, 95, 32, 32
|
|
GROUPBOX "Paper", 1074, 120, 85, 180, 50, BS_GROUPBOX
|
|
LTEXT "Si&ze", 1089, 130, 95, 30, 9
|
|
LTEXT "&Source", 1090, 130, 110, 30, 9
|
|
COMBOBOX 1137, 155, 95, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
|
|
COMBOBOX 1138, 155, 110, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
|
|
}
|
|
|
|
|
|
CHOOSE_FONT DIALOG DISCARDABLE 13, 54, 264, 147
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Font"
|
|
FONT 8, "Helv"
|
|
{
|
|
LTEXT "&Font:",1088 ,6,3,40,9
|
|
COMBOBOX 1136 ,6,13,94,54, CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | CBS_DISABLENOSCROLL |
|
|
CBS_AUTOHSCROLL | CBS_SORT | WS_VSCROLL | WS_TABSTOP | CBS_SIMPLE
|
|
LTEXT "Font St&yle:",1089 ,108,3,44,9
|
|
COMBOBOX 1137,108,13,64,54, CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | CBS_DISABLENOSCROLL |
|
|
WS_VSCROLL | WS_TABSTOP | CBS_SIMPLE
|
|
LTEXT "&Size:",1090,179,3,30,9
|
|
COMBOBOX 1138,179,13,32,54, CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | CBS_DISABLENOSCROLL |
|
|
WS_VSCROLL | WS_TABSTOP | CBS_SIMPLE | CBS_SORT
|
|
DEFPUSHBUTTON "OK",IDOK,218,6,40,14, WS_GROUP | WS_TABSTOP | BS_DEFPUSHBUTTON
|
|
PUSHBUTTON "Cancel",IDCANCEL,218,23,40,14,WS_GROUP | WS_TABSTOP
|
|
PUSHBUTTON "&Apply", 1026,218,40,40,14,WS_GROUP | WS_TABSTOP
|
|
PUSHBUTTON "&Help" , 1038,218,57,40,14,WS_GROUP | WS_TABSTOP
|
|
GROUPBOX "Effects",1072,6,72,84,34,WS_GROUP
|
|
CHECKBOX "Stri&keout", 1040, 10,82,50,10, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
CHECKBOX "&Underline", 1041, 10,94,50,10, BS_AUTOCHECKBOX
|
|
LTEXT "&Color:", 1091 ,6,110,30,9
|
|
COMBOBOX 1139,6,120,84,100,CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_HASSTRINGS |
|
|
CBS_AUTOHSCROLL | WS_BORDER | WS_VSCROLL | WS_TABSTOP
|
|
GROUPBOX "Sample",1073,98,72,160,49,WS_GROUP
|
|
CTEXT "AaBbYyZz",1093,104,81,149,37,SS_NOPREFIX | WS_VISIBLE
|
|
}
|
|
|
|
|
|
CHOOSE_COLOR DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 300, 200
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Color"
|
|
FONT 8, "Helv"
|
|
{
|
|
LTEXT "&Basic Colors:", 1088, 4, 4, 140, 10
|
|
LTEXT "&Custom Colors:", 1089, 4, 106, 140, 10
|
|
LTEXT "Color | Sol&id", 1090, 150, 151, 48, 10
|
|
LTEXT "&Red:", 726 /*1094*/,249,126,24,10
|
|
EDITTEXT 706, 275,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
|
|
LTEXT "&Green:",727/*1095*/,249,140,24,10
|
|
EDITTEXT 707, 275,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
|
|
LTEXT "&Blue:",728 /*1096*/,249,154,24,10
|
|
EDITTEXT 708, 275,152,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
|
|
LTEXT "&Hue:" ,723 /*1091*/,202,126,22,10
|
|
EDITTEXT 703, 226,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
|
|
LTEXT "&Sat:" ,724 /*1092*/,202,140,22,10
|
|
EDITTEXT 704, 226,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
|
|
LTEXT "&Lum:" ,725 /*1093*/,202,154,22,10
|
|
EDITTEXT 705, 226,152,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
|
|
CONTROL "" ,720,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP,4,14,140,86
|
|
CONTROL "" ,721,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP,4,116,140,28
|
|
CONTROL "" ,710,"STATIC",WS_BORDER|SS_SIMPLE|WS_TABSTOP|WS_GROUP, 152,4,118,116
|
|
CONTROL "" ,702,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP, 278,4,8,116
|
|
CONTROL "" ,709,"STATIC",SS_SIMPLE|WS_TABSTOP|WS_GROUP, 152,124,40,26
|
|
DEFPUSHBUTTON "OK", 1, 4, 166, 44, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
|
|
PUSHBUTTON "Cancel", 2, 52, 166, 44, 14, WS_GROUP | WS_TABSTOP
|
|
PUSHBUTTON "Help", 1038,100,166, 44, 14
|
|
PUSHBUTTON "&Add to Custom Colors", 712/*1024*/, 152, 166, 142, 14, WS_GROUP | WS_TABSTOP
|
|
PUSHBUTTON "&Define Custom Colors >>", 719/*1025*/, 4, 150, 142, 14, WS_GROUP | WS_TABSTOP
|
|
PUSHBUTTON "&i",713,300,200,4,14 /* just a dummy: 'i' is like &i in "sol&id" */
|
|
}
|
|
|
|
|
|
FIND_TEXT DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 236, 62
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Find"
|
|
FONT 8, "Helv"
|
|
{
|
|
LTEXT "Fi&nd What:", -1, 4, 8, 42, 8
|
|
EDITTEXT 1152, 47, 7, 128, 12, ES_AUTOHSCROLL | WS_BORDER | WS_GROUP | WS_TABSTOP
|
|
CHECKBOX "Match &Whole Word Only", 1040, 4, 26, 100, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
|
|
CHECKBOX "Match &Case", 1041, 4, 42, 64, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
GROUPBOX "Direction", 1072, 107, 26, 68, 28
|
|
CONTROL "&Up", 1056, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 111, 38, 20, 12
|
|
CONTROL "&Down", 1057, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 138, 38, 30, 12
|
|
|
|
DEFPUSHBUTTON "&Find Next", IDOK, 182, 5, 50, 14, WS_GROUP | WS_TABSTOP | BS_DEFPUSHBUTTON
|
|
PUSHBUTTON "Cancel", IDCANCEL , 182, 23, 50, 14, WS_GROUP | WS_TABSTOP
|
|
PUSHBUTTON "&Help", pshHelp , 182, 45, 50, 14, WS_GROUP | WS_TABSTOP
|
|
}
|
|
|
|
|
|
REPLACE_TEXT DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 230, 94
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Replace"
|
|
FONT 8, "Helv"
|
|
{
|
|
LTEXT "Fi&nd What:", -1, 4, 9, 48, 8
|
|
EDITTEXT 1152, 54, 7, 114, 12, ES_AUTOHSCROLL | WS_BORDER | WS_GROUP | WS_TABSTOP
|
|
LTEXT "Re&place With:", -1, 4, 26, 48, 8
|
|
EDITTEXT 1153, 54, 24, 114, 12, ES_AUTOHSCROLL | WS_BORDER | WS_GROUP | WS_TABSTOP
|
|
CHECKBOX "Match &Whole Word Only", 1040, 5, 46, 104, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
|
|
CHECKBOX "Match &Case", 1041, 5, 62, 59, 12, BS_AUTOCHECKBOX | WS_TABSTOP
|
|
|
|
DEFPUSHBUTTON "&Find Next", IDOK, 174, 4, 50, 14, WS_GROUP | WS_TABSTOP | BS_DEFPUSHBUTTON
|
|
PUSHBUTTON "&Replace", psh1 , 174, 21, 50, 14, WS_GROUP | WS_TABSTOP
|
|
PUSHBUTTON "Replace &All", psh2 , 174, 38, 50, 14, WS_GROUP | WS_TABSTOP
|
|
PUSHBUTTON "Cancel", IDCANCEL , 174, 55, 50, 14, WS_GROUP | WS_TABSTOP
|
|
PUSHBUTTON "&Help", pshHelp , 174, 75, 50, 14, WS_GROUP | WS_TABSTOP
|
|
}
|