/*
 * Copyright 2003 Jon Griffiths (With thanks to Uraiwan Tupsang 'Oi')
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
 */

/*
 * WARNING: DO NOT CHANGE THE SIZE OF THE STANDARD DIALOG TEMPLATES.
 */

LANGUAGE LANG_THAI, SUBLANG_DEFAULT

OPEN_FILE DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 275, 134
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "เปิด"
FONT 8, "MS Shell Dlg"
{
 LTEXT "ชื่อแฟ้ม:", 1090, 6, 6, 76, 9
 EDITTEXT edt1, 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 "ไดเรกทอรี:", -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 "ตัวกรอง:", 1089, 6, 104, 90, 9
 COMBOBOX cmb1, 6, 114, 90, 36, CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | WS_BORDER | WS_VSCROLL | WS_TABSTOP
 LTEXT "ดิสก์:", 1091, 110, 104, 92, 9
 COMBOBOX cmb2, 110, 114, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
 DEFPUSHBUTTON "เปิด", 1, 208, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
 PUSHBUTTON "ยกเลิก", 2, 208, 24, 56, 14, WS_GROUP | WS_TABSTOP
 PUSHBUTTON "ช่วยเหลีอ", pshHelp, 208, 46, 56, 14, WS_GROUP | WS_TABSTOP
 CHECKBOX "อ่านอย่างเดียว", chx1, 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 "บันทืกเป็น..."
FONT 8, "MS Shell Dlg"
{
 LTEXT "ชื่อแฟ้ม:", 1090, 6, 6, 76, 9
 EDITTEXT edt1, 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 "ไดเรกทอรี:", -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 "ตัวกรอง:", 1089, 6, 104, 90, 9
 COMBOBOX cmb1, 6, 114, 90, 36, CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | WS_BORDER | WS_VSCROLL | WS_TABSTOP
 LTEXT "ดิสก์:", 1091, 110, 104, 92, 9
 COMBOBOX cmb2, 110, 114, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
 DEFPUSHBUTTON "บันทืก", 1, 208, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
 PUSHBUTTON "ยกเลิก", 2, 208, 24, 56, 14, WS_GROUP | WS_TABSTOP
 PUSHBUTTON "ช่วยเหลีอ", pshHelp, 208, 46, 56, 14, WS_GROUP | WS_TABSTOP
 CHECKBOX "อ่านอย่างเดียว", chx1, 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 "พิมพ์"
FONT 8, "MS Shell Dlg"
{
 LTEXT "เครื่องพิมพ์:", 1088, 6, 6, 40, 9
 LTEXT "", 1089, 60, 6, 150, 9
 GROUPBOX "ย่อ", grp1, 6, 30, 160, 65, BS_GROUPBOX
 RADIOBUTTON "ทั้งหมด", rad1, 16, 45, 60, 12
 RADIOBUTTON "ย่อส่วนทีใช้", rad2, 16, 60, 60, 12
 RADIOBUTTON "หนา", rad3, 16, 75, 60, 12
 DEFPUSHBUTTON "พิมพ์", 1, 206, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
 PUSHBUTTON "ยกเลิก", 2, 206, 24, 56, 14, WS_GROUP | WS_TABSTOP
 PUSHBUTTON "ปรับแต่ง", psh1, 206, 46, 56, 14, WS_GROUP | WS_TABSTOP
 LTEXT "จาก:", 1090, 60, 80, 30, 9
 LTEXT "ส่งถึง:", 1091, 120, 80, 30, 9
 LTEXT "คุฌภาพการใช้:", 1092, 6, 100, 76, 9
 COMBOBOX cmb1, 80, 100, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
 CHECKBOX "พิมพ์เป็นแฟ้ม", chx1, 20, 100, 50, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
 CHECKBOX "ย่อ", chx2, 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 "ปรับแค่งเครื่องพิมพ์"
FONT 8, "MS Shell Dlg"
{
 GROUPBOX "เครื่องพิมพ์", grp1, 6, 10, 180, 65, BS_GROUPBOX
 RADIOBUTTON "เครื่องพิมพ์&Default", rad1, 16, 20, 80, 12
 LTEXT "[ไม่ได้เลือก]", 1088, 35, 35, 120, 9
 RADIOBUTTON "เครื่องพิมพ์Specific", rad2, 16, 50, 80, 12
 COMBOBOX cmb1, 35, 65, 149, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
 DEFPUSHBUTTON "ตกลง", IDOK, 206, 6, 56, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
 PUSHBUTTON "ยกเลิก", IDCANCEL, 206, 24, 56, 14, WS_GROUP | WS_TABSTOP
 PUSHBUTTON "ปรับแต่ง", psh1, 206, 46, 56, 14, WS_GROUP | WS_TABSTOP
 GROUPBOX "ทีศทางการวาง", grp2, 6, 85, 100, 50, BS_GROUPBOX
 RADIOBUTTON "การตั้ง", rad3, 50, 100, 40, 12
 RADIOBUTTON "แนวนอน", rad4, 50, 115, 40, 12
 ICON "LANDSCAP", stc10, 10, 95, 32, 32
 ICON "PORTRAIT", stc11, 10, 95, 32, 32
 GROUPBOX "กระดาษ", grp3, 120, 85, 180, 50, BS_GROUPBOX
 LTEXT "ขนาด", 1089, 130, 95, 30, 9
 LTEXT "จาก", 1090, 130, 110, 30, 9
 COMBOBOX cmb2, 155, 95, 92, 68, CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS | WS_BORDER | WS_VSCROLL | WS_TABSTOP
 COMBOBOX cmb3, 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 8, "MS Shell Dlg"
{
    LTEXT           "ต้วอักษร:",stc1 ,6,3,40,9
    COMBOBOX        cmb1, 6,13,94,54,  CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | CBS_DISABLENOSCROLL |
                    CBS_AUTOHSCROLL | CBS_SORT | WS_VSCROLL | WS_TABSTOP | CBS_SIMPLE
    LTEXT           "รูปแบบต้วอักษร:",stc2 ,108,3,44,9
    COMBOBOX        cmb2,108,13,64,54, CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | CBS_DISABLENOSCROLL |
                    WS_VSCROLL | WS_TABSTOP | CBS_SIMPLE
    LTEXT           "ขนาด:",stc3,179,3,30,9
    COMBOBOX        cmb3,179,13,32,54, CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | CBS_DISABLENOSCROLL |
                    WS_VSCROLL | WS_TABSTOP | CBS_SIMPLE | CBS_SORT
    DEFPUSHBUTTON   "ตกลง",IDOK,218,6,40,14, WS_GROUP | WS_TABSTOP | BS_DEFPUSHBUTTON
    PUSHBUTTON      "ยกเลิก",IDCANCEL,218,23,40,14,WS_GROUP | WS_TABSTOP
    PUSHBUTTON      "มีผลทันที", psh3,218,40,40,14,WS_GROUP | WS_TABSTOP
    PUSHBUTTON      "ช่วยเหลีอ" , pshHelp,218,57,40,14,WS_GROUP | WS_TABSTOP
    GROUPBOX        "Effects",grp1,6,72,84,34,WS_GROUP
    CHECKBOX	    "Stri&keout", chx1, 10,82,50,10, BS_AUTOCHECKBOX | WS_TABSTOP
    CHECKBOX 	    "ขีดเส้นใต้", chx2, 10,94,50,10, BS_AUTOCHECKBOX
    LTEXT           "สี:", stc4 ,6,110,30,9
    COMBOBOX        cmb4,6,120,84,100,CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_HASSTRINGS |
		    CBS_AUTOHSCROLL |  WS_BORDER | WS_VSCROLL | WS_TABSTOP
    GROUPBOX        "ตัวอย่าง",grp2,98,72,120,36,WS_GROUP
    CTEXT           "AฺBCกขฃ",stc5,103,80,109,24,SS_NOPREFIX | NOT WS_VISIBLE
    LTEXT           "Scr&ipt:",stc7 ,98,114,40,9
    COMBOBOX        cmb5,98,124,120,90,CBS_DROPDOWNLIST | CBS_HASSTRINGS |
                    CBS_AUTOHSCROLL |   WS_VSCROLL | WS_TABSTOP
}


CHOOSE_COLOR DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 300, 185
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "สี"
FONT 8, "MS Shell Dlg"
{
 LTEXT "&Basic Colors:",   1088, 4,    4,  140, 10
 LTEXT "'สีที่กําหนดเอง':",  1089, 4,   106, 140, 10
 LTEXT "สี |  มั่นคง",  1090, 150, 151,  48, 10
 LTEXT   "สีแดง:", 726 /*1094*/,249,126,24,10
 EDITTEXT 706, 275,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
 LTEXT   "สีเขียว:",727/*1095*/,249,140,24,10
 EDITTEXT 707, 275,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
 LTEXT   "สีฟ้า:",728 /*1096*/,249,154,24,10
 EDITTEXT 708, 275,152,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
 LTEXT  "&H:" ,723 /*1091*/,202,126,22,10
 EDITTEXT 703, 226,124,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
 LTEXT  "&S:" ,724 /*1092*/,202,140,22,10
 EDITTEXT 704, 226,138,21,12, WS_BORDER | WS_GROUP | WS_TABSTOP
 LTEXT  "&L:" ,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 "ตกลง",  1,  4, 166, 44, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP
 PUSHBUTTON "ยกเลิก", 2, 52, 166, 44, 14, WS_GROUP | WS_TABSTOP
 PUSHBUTTON "ช่วยเหลีอ", pshHelp,100,166, 44, 14
 PUSHBUTTON "เพิ่มเข้าไป 'สีที่กําหนดเอง'",    712/*1024*/, 152, 166, 142, 14, WS_GROUP | WS_TABSTOP
 PUSHBUTTON "ปรับแต่ง 'สีที่กําหนดเอง' >>", 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"  */
}


FINDDLGORD DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 236, 62
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "ค้นหา"
FONT 8, "MS Shell Dlg"
{
 LTEXT "ข้อความทีค้นหา:", -1, 4, 8, 42, 8
 EDITTEXT edt1, 47, 7, 128, 12, ES_AUTOHSCROLL | WS_BORDER | WS_GROUP | WS_TABSTOP
 CHECKBOX "ตรงกันทุกตัวอักษร", chx1, 4, 26, 100, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
 CHECKBOX "พิจารณาตัวเล็ก-ใหญ่", chx2, 4, 42, 64, 12, BS_AUTOCHECKBOX | WS_TABSTOP
 GROUPBOX "ทาง", grp1, 107, 26, 68, 28
 CONTROL "ขึ้น", rad1, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 111, 38, 20, 12
 CONTROL "ลง", rad2, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 138, 38, 30, 12

 DEFPUSHBUTTON "ค้นหาต่อไป", IDOK, 182,  5, 50, 14, WS_GROUP | WS_TABSTOP | BS_DEFPUSHBUTTON
 PUSHBUTTON "ยกเลิก", IDCANCEL	 , 182, 23, 50, 14, WS_GROUP | WS_TABSTOP
 PUSHBUTTON "ช่วยเหลีอ", pshHelp	 , 182, 45, 50, 14, WS_GROUP | WS_TABSTOP
}


REPLACEDLGORD DIALOG LOADONCALL MOVEABLE DISCARDABLE 36, 24, 230, 94
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "แทนที"
FONT 8, "MS Shell Dlg"
{
 LTEXT "ข้อความทีค้นหา:", -1, 4, 9, 48, 8
 EDITTEXT edt1, 54, 7, 114, 12, ES_AUTOHSCROLL | WS_BORDER | WS_GROUP | WS_TABSTOP
 LTEXT "การแทนทีข้อความ:", -1, 4, 26, 48, 8
 EDITTEXT edt2, 54, 24, 114, 12, ES_AUTOHSCROLL | WS_BORDER | WS_GROUP | WS_TABSTOP
 CHECKBOX "ตรงกันทุกตัวอักษร", chx1, 5, 46, 104, 12, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
 CHECKBOX "พิจารณาตัวเล็ก-ใหญ่", chx2, 5, 62, 59, 12, BS_AUTOCHECKBOX | WS_TABSTOP

 DEFPUSHBUTTON "ค้นหาต่อไป", IDOK, 174,  4, 50, 14, WS_GROUP | WS_TABSTOP | BS_DEFPUSHBUTTON
 PUSHBUTTON "แทนที", psh1	 , 174, 21, 50, 14, WS_GROUP | WS_TABSTOP
 PUSHBUTTON "แทนทีทังหมด", psh2 , 174, 38, 50, 14, WS_GROUP | WS_TABSTOP
 PUSHBUTTON "ยกเลิก", IDCANCEL	 , 174, 55, 50, 14, WS_GROUP | WS_TABSTOP
 PUSHBUTTON "ช่วยเหลีอ", pshHelp	 , 174, 75, 50, 14, WS_GROUP | WS_TABSTOP
}


PRINT32 DIALOG LOADONCALL MOVEABLE DISCARDABLE  32, 32, 288, 186
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU |
      DS_CONTEXTHELP | DS_3DLOOK
CAPTION "พิมพ์"
FONT 8, "MS Shell Dlg"
{
    DEFPUSHBUTTON   "ตกลง",     IDOK,     180,164, 48,14, WS_GROUP | BS_DEFPUSHBUTTON
    PUSHBUTTON      "ยกเลิก", IDCANCEL, 232,164, 48,14, WS_GROUP
    PUSHBUTTON      "ช่วยเหลีอ",  pshHelp,  50, 161, 48,14, WS_GROUP

    GROUPBOX        "เครื่องพิมพ์",        grp4,   8,  4, 272,84, WS_GROUP
    CONTROL         "พิมพ์เป็นแฟ้ม", chx1, "Button",BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,212,70,64,12
    PUSHBUTTON      "คุณสมบัติ",    psh2, 212, 17,  60,14, WS_GROUP
    LTEXT           "ชื่อ:",         stc6,  16, 20,  36,8
    COMBOBOX                          cmb4,  52, 18, 152,152,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_GROUP | WS_TABSTOP
    LTEXT           "อาการเครื่อง:",        stc8,  16, 36,  36,10, SS_NOPREFIX
    LTEXT           "ไม่มี",    stc12, 52, 36, 224,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
    LTEXT           "แบบ:",          stc7,  16, 48,  36,10, SS_NOPREFIX
    LTEXT           "ไม่มี",     stc11, 52, 48, 224,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
    LTEXT           "ทีไหน:",         stc10, 16, 60,  36,10, SS_NOPREFIX
    LTEXT           "ไม่มี", stc14, 52, 60, 224,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
    LTEXT           "ข้อความ:",       stc9,  16, 72,  36,10, SS_NOPREFIX
    LTEXT           "ไม่มี",   stc13, 52, 72, 152,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP

    GROUPBOX        "สําเนา",         grp2, 160, 92, 120,64, WS_GROUP
    LTEXT           "กี่สําเนา:",stc5,168,108,68,8
    ICON            "",               ico3, 162,124,  76,24, WS_GROUP | SS_CENTERIMAGE
    CONTROL         "จัดเรียงตามลําดับ",       chx2,"Button",BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,240,130,36,12
    EDITTEXT                          edt3, 240,106,  32,12, WS_GROUP | ES_NUMBER

    GROUPBOX        "ย่อ",    grp1,   8,92,  144,64, WS_GROUP
    CONTROL         "ทั้งหมด",           rad1,"Button",BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,16,106,64,12
    CONTROL         "หนา",         rad3,"Button",BS_AUTORADIOBUTTON,16,122,36,12
    CONTROL         "ย่อส่วนทีใช้",     rad2,"Button",BS_AUTORADIOBUTTON,16,138,64,12
    EDITTEXT                          edt1,  74,122,  26,12, WS_GROUP | ES_NUMBER
    EDITTEXT                          edt2, 118,122,  26,12, WS_GROUP | ES_NUMBER
    RTEXT           "จาก:",         stc2,  52,124,  20,8
    RTEXT           "ส่งถึง:",           stc3, 100,124,  16,8
}

PRINT32_SETUP DIALOG LOADONCALL MOVEABLE DISCARDABLE  32, 32, 288, 178
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU |
      DS_CONTEXTHELP | DS_3DLOOK
CAPTION "ปรับแต่งเครื่องพิมพ์"
FONT 8, "MS Shell Dlg"
BEGIN
    DEFPUSHBUTTON   "ตกลง",IDOK,180,156,48,14,WS_GROUP
    PUSHBUTTON      "ยกเลิก",IDCANCEL,232,156,48,14
/*    PUSHBUTTON      "Network...", psh5, 284,156,48,14 */

    GROUPBOX        "เครื่องพิมพ์",        grp4,   8,  4, 272,84, WS_GROUP
    PUSHBUTTON      "คุณสมบัติ",    psh2, 212, 17,  60,14, WS_GROUP
    LTEXT           "ชื่อ:",         stc6,  16, 20,  36,8
    COMBOBOX                          cmb1,  52, 18, 152,152,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_GROUP | WS_TABSTOP
    LTEXT           "อาการเครื่อง:",        stc8,  16, 36,  36,10, SS_NOPREFIX
    LTEXT           "ไม่มี",    stc12, 52, 36, 224,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
    LTEXT           "แบบ:",          stc7,  16, 48,  36,10, SS_NOPREFIX
    LTEXT           "ไม่มี",     stc11, 52, 48, 224,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
    LTEXT           "ทีไหน:",         stc10, 16, 60,  36,10, SS_NOPREFIX
    LTEXT           "ไม่มี", stc14, 52, 60, 224,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP
    LTEXT           "ข้อความ:",       stc9,  16, 72,  36,10, SS_NOPREFIX
    LTEXT           "ไม่มี",   stc13, 52, 72, 224,10, SS_NOPREFIX | SS_LEFTNOWORDWRAP

    GROUPBOX        "กระดาษ",          grp2,   8, 92, 164,56, WS_GROUP
    LTEXT           "ขนาด:",         stc2,  16,108,  36, 8
    COMBOBOX                          cmb2,  52,106, 112,112,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_GROUP | WS_TABSTOP
    LTEXT           "จากไหน:",       stc3,  16,128,  36, 8
    COMBOBOX                          cmb3,  52,126, 112,112,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_GROUP | WS_TABSTOP

    GROUPBOX        "ทีศทางการวาง",    grp1, 180, 92, 100,56, WS_GROUP
    ICON            "",               ico1, 195,112,  18,20, WS_GROUP
    CONTROL         "การตั้ง",      rad1,"Button",BS_AUTORADIOBUTTON | WS_GROUP |WS_TABSTOP,224,106,52,12
    CONTROL         "แนวนอน",     rad2,"Button",BS_AUTORADIOBUTTON,224,126,52,12
END

PAGESETUPDLGORD DIALOG LOADONCALL MOVEABLE DISCARDABLE 32, 32, 240, 240
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "ปรับแต่ง"
FONT 8, "MS Shell Dlg"
BEGIN
  CONTROL "", rct1, "Static", SS_WHITERECT, 80, 8, 80, 80
  CONTROL "", rct2, "Static", SS_GRAYRECT, 160, 12, 4, 80
  CONTROL "", rct3, "Static", SS_GRAYRECT,  84, 88, 80, 4
  GROUPBOX "กระดาษ", grp2, 8, 96, 224, 56, BS_GROUPBOX
  LTEXT "ขนาด:", stc2, 16, 112, 36, 8
  COMBOBOX cmb2, 64, 110, 160, 160, CBS_SIMPLE|CBS_DROPDOWN|CBS_SORT|WS_GROUP|WS_TABSTOP|WS_VSCROLL
  LTEXT "ถาด:", stc3, 16, 132, 36, 8
  COMBOBOX cmb3, 64, 130, 160, 160, CBS_SIMPLE|CBS_DROPDOWN|CBS_SORT|WS_GROUP|WS_TABSTOP|WS_VSCROLL
  GROUPBOX "ทีศทางการวาง", grp1, 8, 156, 64, 56, BS_GROUPBOX
  AUTORADIOBUTTON "การตั้ง", rad1, 16, 170, 52, 12, BS_AUTORADIOBUTTON
  AUTORADIOBUTTON "แนวนอน", rad2, 16, 190, 52, 12, BS_AUTORADIOBUTTON
  GROUPBOX "ขอบกระดาษ", grp4, 80, 156, 152, 56, BS_GROUPBOX
  LTEXT "ซ้าย:", stc15, 88, 172, 21, 8
  EDITTEXT edt4, 111, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
  LTEXT "ขวา:", stc16, 159, 172, 27, 8
  EDITTEXT edt6, 187, 170, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
  LTEXT "บน:", stc17, 88, 192, 21, 8
  EDITTEXT edt5, 111, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
  LTEXT "ล่าง:", stc18, 159, 192, 23, 8
  EDITTEXT edt7, 187, 190, 39, 12, WS_TABSTOP|WS_GROUP|WS_BORDER|ES_NUMBER
  DEFPUSHBUTTON "ตกลง", IDOK, 71, 220, 50, 14, BS_PUSHBUTTON
  PUSHBUTTON "ยกเลิก", IDCANCEL, 126, 220, 50, 14
  PUSHBUTTON "เครื่องพิมพ์...", psh3, 184, 220, 48, 14
END

NEWFILEOPENORD DIALOG LOADONCALL MOVEABLE DISCARDABLE 0, 0, 280, 164
STYLE DS_MODALFRAME | DS_CONTEXTHELP | WS_VISIBLE | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_CLIPCHILDREN
CAPTION "เปิด"
FONT 8, "MS Shell Dlg"
{
    LTEXT	"ดูข้างใน:",IDC_LOOKINSTATIC,4,6,43,8, SS_NOTIFY
    COMBOBOX	IDC_LOOKIN,49,3,132,100,CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | WS_VSCROLL | WS_TABSTOP

    LTEXT	"" , IDC_TOOLBARSTATIC, 181, 2, 102, 17, NOT WS_GROUP | NOT WS_VISIBLE
    LISTBOX	IDC_SHELLSTATIC,4,20,272,85, LBS_SORT | LBS_NOINTEGRALHEIGHT | LBS_MULTICOLUMN | WS_HSCROLL | NOT WS_VISIBLE

    LTEXT	"ชื่อแฟ้ม:",IDC_FILENAMESTATIC,5,112,46,8, SS_NOTIFY
    EDITTEXT	IDC_FILENAME,54,110,155,12,ES_AUTOHSCROLL

    LTEXT	"ตัวกรอง:",IDC_FILETYPESTATIC,5,128,42,8, SS_NOTIFY
    COMBOBOX	IDC_FILETYPE,54,126,155,53,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP

    CONTROL	"อ่านอย่างเดียว",IDC_OPENREADONLY,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,54,145,100,10

    DEFPUSHBUTTON	"เปิด",		 IDOK,222,110,50,14
    PUSHBUTTON		"ยกเลิก",		 IDCANCEL,222,128,50,14
    PUSHBUTTON		"ช่วยเหลีอ",		 pshHelp,222,145,50,14
}

STRINGTABLE DISCARDABLE
{
    IDS_ABOUTBOX            "เกี่ยวกับ FolderPicker Test"
    IDS_DOCUMENTFOLDERS     "Document Folders"
    IDS_PERSONAL            "พื้นที่ส่วนตัว"
    IDS_FAVORITES           "ที่คั่นหนังสือ"
    IDS_PATH                "System Path"
    IDS_DESKTOP             "พื้นที่ทำงาน"
    IDS_FONTS               "ดัวอักษร"
    IDS_MYCOMPUTER          "เครื่องส่วนตัว"
}

STRINGTABLE DISCARDABLE
{
    IDS_SYSTEMFOLDERS       "System Folders"
    IDS_LOCALHARDRIVES      "ฮาร์ดดิสก์เครื่องส่วนตัว"
    IDS_FILENOTFOUND        "ไม่พบแฟ้ม"
    IDS_VERIFYFILE          "Please verify if the correct file name was given"
    IDS_CREATEFILE          "File does not exist\nDo you want to create file"
    IDS_OVERWRITEFILE       "File does already exist.\nDo you want to replace it?"
    IDS_INVALID_FILENAME_TITLE "Invalid character(s) in path"
    IDS_INVALID_FILENAME    "ในชื่อแฟ้มใช้ไมได้ต้วนี้:\n                          / : < > |"
    IDS_PATHNOTEXISTING     "ไม่พบไดเรกทอรี"
    IDS_FILENOTEXISTING     "ไม่พบแฟ้ม"
}

STRINGTABLE DISCARDABLE
{
    IDS_UPFOLDER         "ขึ้นหนึ่งระดับ"
    IDS_NEWFOLDER        "สร้างไดเรกทอรีใหม่"
    IDS_LISTVIEW         "กําหนด"
    IDS_REPORTVIEW       "รายละเอียด"
    IDS_TODESKTOP        "ค้นหารายการพื้นที่ทำงาน"
}

STRINGTABLE DISCARDABLE
{
    PD32_PRINT_TITLE       "พิมพ์"

    PD32_VALUE_UREADABLE                  "อ่านรายการไมได้"
    PD32_INVALID_PAGE_RANGE "กรุณาเลื่อกหมายเลขระวาง %d ถึง %d"
    PD32_FROM_NOT_ABOVE_TO                "'จาก' ต่องเป็นน้อยก่วะ 'ส่งถึง'"
    PD32_MARGINS_OVERLAP                  "ขอบกระดาษใหญ่เกินไป\nกรุณาเลื่อกใหม่"
    PD32_NR_OF_COPIES_EMPTY               "The number of 'Number of copies' \
value cannot be empty."
    PD32_TOO_LARGE_COPIES                 "This large nmuber of copies is not \
supported by your printer.\nPlease enter a value between 1 and %d."
    PD32_PRINT_ERROR                      "ความปิดเครื่องพิมพ์"
    PD32_NO_DEFAULT_PRINTER               "ไมมีเครื่องพิมพ์ปกติ"
    PD32_CANT_FIND_PRINTER                "ไม่พบเครื่องพิมพ์"
    PD32_OUT_OF_MEMORY                    "ความจํา์หมด"
    PD32_GENERIC_ERROR                    "เกิดความปิดพลาด"
    PD32_DRIVER_UNKNOWN                   "ไม่รู้จักดไร์เวอร์์เครื่องพิมพ์"
    PD32_NO_DEVICES                       "Before you can perform printer-related tasks \
such as page setup or printing a document, you need to install a printer. \
Please install one and retry."

    PD32_DEFAULT_PRINTER                  "เครื่องพิมพ์ปกติ; "
    PD32_NR_OF_DOCUMENTS_IN_QUEUE         "มี %d แฟ้มรออยู่"
    PD32_MARGINS_IN_INCHES                "ขอบกระดาษ [นิ้ว]"
    PD32_MARGINS_IN_MILIMETERS            "ขอบกระดาษ [มม.]"
    PD32_MILIMETERS                       "มม."

    PD32_PRINTER_STATUS_READY             "พร้อม"
    PD32_PRINTER_STATUS_PAUSED            "ชะลอ; "
    PD32_PRINTER_STATUS_ERROR             "ความปิด; "
    PD32_PRINTER_STATUS_PENDING_DELETION  "กําลังจะลบ; "
    PD32_PRINTER_STATUS_PAPER_JAM         "กระดาษติด; "
    PD32_PRINTER_STATUS_PAPER_OUT         "กระดาษหมด; "
    PD32_PRINTER_STATUS_MANUAL_FEED       "Feed paper manual; "
    PD32_PRINTER_STATUS_PAPER_PROBLEM     "Paper problem; "
    PD32_PRINTER_STATUS_OFFLINE           "เครื่องพิมพ์ปิด; "
    PD32_PRINTER_STATUS_IO_ACTIVE         "I/O Active; "
    PD32_PRINTER_STATUS_BUSY              "ยุ่ง; "
    PD32_PRINTER_STATUS_PRINTING          "กํมลังพิมพ์; "
    PD32_PRINTER_STATUS_OUTPUT_BIN_FULL   "ถาดเต็ม; "
    PD32_PRINTER_STATUS_NOT_AVAILABLE     "ใช้ไม่ได้ตอนนี้; "
    PD32_PRINTER_STATUS_WAITING           "เครื่องพิมพ์รออยู่; "
    PD32_PRINTER_STATUS_PROCESSING        "กําลังทํางาน; "
    PD32_PRINTER_STATUS_INITIALIZING      "กํมลังะเร็ม; "
    PD32_PRINTER_STATUS_WARMING_UP        "กํมลังะพรอม; "
    PD32_PRINTER_STATUS_TONER_LOW         "หมึกจะหมด; "
    PD32_PRINTER_STATUS_NO_TONER          "หมึกหมดแล้ว; "
    PD32_PRINTER_STATUS_PAGE_PUNT         "Page punt; "
    PD32_PRINTER_STATUS_USER_INTERVENTION "ผู้ใช้ยกเลิก; "
    PD32_PRINTER_STATUS_OUT_OF_MEMORY     "ความจําเครื่องพิมพ์หมด; "
    PD32_PRINTER_STATUS_DOOR_OPEN         "ประตูเครื่องพิมพ์เปิด; "
    PD32_PRINTER_STATUS_SERVER_UNKNOWN    "ไม่รู้จักเสอร์เวอร์์; "
    PD32_PRINTER_STATUS_POWER_SAVE        "ใช้ไฟ้น้อย; "
}

STRINGTABLE DISCARDABLE /* Color names */
{
    IDS_COLOR_BLACK     "สีดํา"
    IDS_COLOR_MAROON    "สีเลืดหมู"
    IDS_COLOR_GREEN     "สีเขียว"
    IDS_COLOR_OLIVE     "สีเขียวเข้ม"
    IDS_COLOR_NAVY      "สีนําเงิน"
    IDS_COLOR_PURPLE    "สีม่วง"
    IDS_COLOR_TEAL      "สีเขียวอมนําเงินข้ม"
    IDS_COLOR_GRAY      "สีเทา"
    IDS_COLOR_SILVER    "สีเงิน"
    IDS_COLOR_RED       "สีแดง"
    IDS_COLOR_LIME      "สีเขียวออ่น"
    IDS_COLOR_YELLOW    "สีเหลือง"
    IDS_COLOR_BLUE      "สีฟ้า"
    IDS_COLOR_FUCHSIA   "Fuchsia"
    IDS_COLOR_AQUA      "สีฟ้าออ่น"
    IDS_COLOR_WHITE     "สีขาว"
}
