

CONST
     CM_OPEN=105
     CM_SAVEAS=106
     CM_NEW=107
     CM_SAVE=108
     CM_ABOUT=110
     CM_QUIT=111

     CM_GROUPBOX=500
     CM_LISTBOX=501
     CM_BUTTON=502
     CM_ICON=503
     CM_CHECKBOX=504
     CM_RADIOBOX=505
     CM_ENTRYFIELD=506
     CM_TEXT=507
     CM_NEWRES=508
     CM_DELETERES=509
     CM_SELECTRES=510
     CM_EDITSTYLE=511
     CM_EDITPRESPARAMS=513
     CM_ARRANGE=514
     CM_OPTIONS=515
     CM_HELP=516

     CM_HELPFORHELP=30001
     CM_HELPINDEX=30004
     CM_HELPCONTENTS=30005

     IdMain=1000
END

ICON IdMain PX.ICO

MENU IDMain
BEGIN
    SUBMENU "~File",1
    BEGIN
      MENUITEM "~New Project",CM_NEW
      MENUITEM "~Open Project...       F3",CM_OPEN
      MENUITEM "~Save Project        F2",CM_SAVE
      MENUITEM "Save Project ~as...",CM_SAVEAS
      MENUITEM SEPARATOR
      MENUITEM "A~bout...",CM_ABOUT
      MENUITEM SEPARATOR
      MENUITEM "E~xit",CM_QUIT
    END
    SUBMENU "~Edit",1
    BEGIN
      MENUITEM "~Style",CM_EDITSTYLE
      MENUITEM "~Presparams",CM_EDITPRESPARAMS
      MENUITEM SEPARATOR
      MENUITEM "~Arrange",CM_ARRANGE
    END
    SUBMENU "~Resources",1
    BEGIN
         MENUITEM "~New",CM_NEWRES
         MENUITEM "~Delete",CM_DELETERES
         MENUITEM "~Select",CM_SELECTRES
    END
    SUBMENU "Controls",1
    BEGIN
         MENUITEM "~Groupbox",CM_GROUPBOX
         MENUITEM "~Button",CM_BUTTON
         MENUITEM "~CheckBox",CM_CHECKBOX
         MENUITEM "~RadioBox",CM_RADIOBOX
         MENUITEM "~Entryfield",CM_ENTRYFIELD
         MENUITEM "~Text",CM_TEXT
         MENUITEM "~Icon",CM_ICON
         MENUITEM "~Listbox",CM_LISTBOX
    END
    SUBMENU "Options",CM_OPTIONS
    BEGIN
    END
    SUBMENU "~Help",CM_HELP
    BEGIN
         MENUITEM "~Contents            F1",CM_HELPCONTENTS
         MENUITEM "~Index",CM_HELPINDEX
         MENUITEM "~Help on Help",CM_HELPFORHELP
    END
END

BITMAP 1003 Vision.bmp

DLGTEMPLATE 500         /* Aboutbox */
BEGIN
    DIALOG  "About this program", 500,100,20,215,183
       STYLE FS_DLGBORDER|WS_VISIBLE
       FLAGS FCF_NOBYTEALIGN|FCF_TITLEBAR|FCF_SYSMENU
       PRESPARAMS PP_FONTNAMESIZE, "8.Helv"
    BEGIN
        GROUPBOX "",1005,25,75,164,107
            STYLE WS_VISIBLE|WS_GROUP
        BITMAP "#1003",1005,42,85,162,100
            STYLE WS_VISIBLE|WS_GROUP
        CTEXT      "Speed Resource Editor Version 1.0 Alpha",20000, 35, 60,146,7
            STYLE WS_VISIBLE
            PRESPARAMS PP_FOREGROUNDCOLORINDEX, CLR_RED
        CTEXT      "Copyright (C) 1994 Vision Software Chemnitz",20000,35, 52,146,7
            STYLE WS_VISIBLE
            PRESPARAMS PP_FOREGROUNDCOLORINDEX, CLR_BLACK
        CTEXT      "All rights reserved.",20000,35,44,146,7
            STYLE WS_VISIBLE
            PRESPARAMS PP_FOREGROUNDCOLORINDEX, CLR_BLACK
        DEFPUSHBUTTON "~OK", 1000,90,24,40,14
            STYLE WS_VISIBLE
    END
END

DLGTEMPLATE 501
BEGIN
     DIALOG "New Resource",501,56,42,194,88
     STYLE FS_DLGBORDER|WS_VISIBLE
     FLAGS FCF_NOBYTEALIGN|FCF_TITLEBAR|FCF_SYSMENU
     PRESPARAMS PP_FONTNAMESIZE, "8.Helv"
     BEGIN
          LTEXT "Select Resource type:",0,16,77,84,10
          STYLE WS_VISIBLE

          CONTROL "",100,16,30,166,48
          TYPE WC_LISTBOX
          STYLE WS_VISIBLE|WS_TABSTOP|CBS_DROPDOWNLIST
          FLAGS NO_FLAGS

          DEFPUSHBUTTON "~Ok",110,24,6,40,15
          STYLE WS_VISIBLE
          DEFPUSHBUTTON "~Cancel",111,80,6,40,15
          STYLE WS_VISIBLE
          DEFPUSHBUTTON "~Help",112,132,6,40,15
          STYLE WS_VISIBLE
     END
END

DLGTEMPLATE 1000
BEGIN
     DIALOG "Push Button Styles",1000,12,26,194,180
     STYLE FS_DLGBORDER|WS_VISIBLE
     FLAGS FCF_NOBYTEALIGN|FCF_TITLEBAR|FCF_SYSMENU
     PRESPARAMS PP_FONTNAMESIZE, "8.Helv"
     BEGIN
          LTEXT "Text",0,12,156,40,10
          STYLE WS_VISIBLE
          ENTRYFIELD "",100,56,160,128,7
          STYLE WS_VISIBLE|ES_MARGIN|ES_AUTOSCROLL|WS_TABSTOP

          LTEXT "Id",0,12,138,40,10
          STYLE WS_VISIBLE
          ENTRYFIELD "",200,56,142,30,7
          STYLE WS_VISIBLE|ES_MARGIN|ES_AUTOSCROLL|WS_TABSTOP

          LTEXT "IdName",0,96,138,40,10
          STYLE WS_VISIBLE
          ENTRYFIELD "",201,130,142,54,7
          STYLE WS_VISIBLE|ES_MARGIN|ES_AUTOSCROLL|WS_TABSTOP

          GROUPBOX "Push button styles",0,12,78,172,49
          STYLE WS_VISIBLE|WS_GROUP
          AUTOCHECKBOX "Help",101,20,106,40,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "SYSCOMMAND",102,20,96,70,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "Default",103,20,84,42,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "No pointer focus",104,98,106,80,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "No border",105,98,96,44,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "Icon",120,98,84,42,10
          STYLE WS_VISIBLE|WS_TABSTOP

          GROUPBOX "Basic styles",0,12,31,172,35
          STYLE WS_VISIBLE|WS_GROUP
          AUTOCHECKBOX "Visible",106,20,46,40,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "Disabled",107,20,34,40,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "Group",108,96,46,40,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "Tabstop",109,96,34,40,10
          STYLE WS_VISIBLE|WS_TABSTOP

          DEFPUSHBUTTON "~Ok",110,28,8,40,15
          STYLE WS_VISIBLE
          DEFPUSHBUTTON "~Cancel",111,80,8,40,15
          STYLE WS_VISIBLE
          DEFPUSHBUTTON "~Help",112,138,8,40,15
          STYLE WS_VISIBLE
     END
END

DLGTEMPLATE 1001
BEGIN
     DIALOG "Check Box Styles",1001,16,22,194,160
     STYLE FS_DLGBORDER|WS_VISIBLE
     FLAGS FCF_NOBYTEALIGN|FCF_TITLEBAR|FCF_SYSMENU
     PRESPARAMS PP_FONTNAMESIZE, "8.Helv"
     BEGIN
          LTEXT "Text",0,8,136,40,10
          STYLE WS_VISIBLE
          ENTRYFIELD "",100,56,140,132,7
          STYLE WS_VISIBLE|ES_MARGIN|ES_AUTOSCROLL|WS_TABSTOP

          LTEXT "Id",0,8,119,40,10
          STYLE WS_VISIBLE
          ENTRYFIELD "",200,56,123,30,7
          STYLE WS_VISIBLE|ES_MARGIN|ES_AUTOSCROLL|WS_TABSTOP

          LTEXT "IdName",0,96,119,40,10
          STYLE WS_VISIBLE
          ENTRYFIELD "",201,130,123,57,7
          STYLE WS_VISIBLE|ES_MARGIN|ES_AUTOSCROLL|WS_TABSTOP

          GROUPBOX "Check Box Styles",0,12,72,176,44
          STYLE WS_VISIBLE|WS_GROUP
          AUTOCHECKBOX "Auto",101,22,96,40,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "3 State",102,22,85,40,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "No pointer focus",103,22,74,80,10
          STYLE WS_VISIBLE|WS_TABSTOP

          GROUPBOX "Basic Styles",0,12,33,176,36
          STYLE WS_VISIBLE|WS_GROUP
          AUTOCHECKBOX "Visible",104,20,50,40,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "Disabled",105,20,38,40,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "Group",106,100,50,40,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "Tabstop",107,100,38,40,10
          STYLE WS_VISIBLE|WS_TABSTOP

          DEFPUSHBUTTON "~Ok",110,22,8,40,15
          STYLE WS_VISIBLE
          DEFPUSHBUTTON "~Cancel",111,80,8,40,15
          STYLE WS_VISIBLE
          DEFPUSHBUTTON "~Help",112,136,8,40,15
          STYLE WS_VISIBLE
     END
END

DLGTEMPLATE 1002
BEGIN
     DIALOG "Radio Button Styles",1002,16,22,194,160
     STYLE FS_DLGBORDER|WS_VISIBLE
     FLAGS FCF_NOBYTEALIGN|FCF_TITLEBAR|FCF_SYSMENU
     PRESPARAMS PP_FONTNAMESIZE, "8.Helv"
     BEGIN
          LTEXT "Text",0,8,136,40,10
          STYLE WS_VISIBLE
          ENTRYFIELD "",100,56,140,132,7
          STYLE WS_VISIBLE|ES_MARGIN|ES_AUTOSCROLL|WS_TABSTOP

          LTEXT "Id",0,8,119,40,10
          STYLE WS_VISIBLE
          ENTRYFIELD "",200,56,123,30,7
          STYLE WS_VISIBLE|ES_MARGIN|ES_AUTOSCROLL|WS_TABSTOP

          LTEXT "IdName",0,96,119,40,10
          STYLE WS_VISIBLE
          ENTRYFIELD "",201,130,123,57,7
          STYLE WS_VISIBLE|ES_MARGIN|ES_AUTOSCROLL|WS_TABSTOP

          GROUPBOX "Radio Button Styles",0,12,72,176,44
          STYLE WS_VISIBLE|WS_GROUP
          AUTOCHECKBOX "Auto",101,22,96,40,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "No pointer focus",102,22,85,40,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "No cursor select",103,22,74,80,10
          STYLE WS_VISIBLE|WS_TABSTOP

          GROUPBOX "Basic Styles",0,12,33,176,36
          STYLE WS_VISIBLE|WS_GROUP
          AUTOCHECKBOX "Visible",104,20,50,40,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "Disabled",105,20,38,40,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "Group",106,100,50,40,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "Tabstop",107,100,38,40,10
          STYLE WS_VISIBLE|WS_TABSTOP

          DEFPUSHBUTTON "~Ok",110,22,8,40,15
          STYLE WS_VISIBLE
          DEFPUSHBUTTON "~Cancel",111,80,8,40,15
          STYLE WS_VISIBLE
          DEFPUSHBUTTON "~Help",112,136,8,40,15
          STYLE WS_VISIBLE
     END
END

DLGTEMPLATE 1003
BEGIN
     DIALOG "Group box styles",1003,16,22,194,150
     STYLE FS_DLGBORDER|WS_VISIBLE
     FLAGS FCF_NOBYTEALIGN|FCF_TITLEBAR|FCF_SYSMENU
     PRESPARAMS PP_FONTNAMESIZE, "8.Helv"
     BEGIN
          LTEXT "Text",0,8,127,40,10
          STYLE WS_VISIBLE
          ENTRYFIELD "",100,56,131,132,7
          STYLE WS_VISIBLE|ES_MARGIN|ES_AUTOSCROLL|WS_TABSTOP

          LTEXT "Id",0,8,109,40,10
          STYLE WS_VISIBLE
          ENTRYFIELD "",200,56,113,30,7
          STYLE WS_VISIBLE|ES_MARGIN|ES_AUTOSCROLL|WS_TABSTOP

          LTEXT "IdName",0,96,109,40,10
          STYLE WS_VISIBLE
          ENTRYFIELD "",201,130,113,57,7
          STYLE WS_VISIBLE|ES_MARGIN|ES_AUTOSCROLL|WS_TABSTOP

          GROUPBOX "Group box Styles",0,12,72,176,34
          STYLE WS_VISIBLE|WS_GROUP
          AUTOCHECKBOX "Halftone",101,22,88,40,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "Mnemonic",102,22,76,50,10
          STYLE WS_VISIBLE|WS_TABSTOP

          GROUPBOX "Basic Styles",0,12,36,176,36
          STYLE WS_VISIBLE|WS_GROUP
          AUTOCHECKBOX "Visible",104,20,50,40,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "Disabled",105,20,38,40,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "Group",106,100,50,40,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "Tabstop",107,100,38,40,10
          STYLE WS_VISIBLE|WS_TABSTOP

          DEFPUSHBUTTON "~Ok",110,22,8,40,15
          STYLE WS_VISIBLE
          DEFPUSHBUTTON "~Cancel",111,80,8,40,15
          STYLE WS_VISIBLE
          DEFPUSHBUTTON "~Help",112,136,8,40,15
          STYLE WS_VISIBLE
     END
END

DLGTEMPLATE 1004
BEGIN
     DIALOG "Dialog Styles",1004,0,2,204,210
     STYLE FS_DLGBORDER|WS_VISIBLE
     FLAGS FCF_NOBYTEALIGN|FCF_TITLEBAR|FCF_SYSMENU
     PRESPARAMS PP_FONTNAMESIZE, "8.Helv"
     BEGIN
          LTEXT "Text",0,8,190,40,10
          STYLE WS_VISIBLE
          ENTRYFIELD "",100,56,194,135,7
          STYLE WS_VISIBLE|ES_MARGIN|ES_AUTOSCROLL|WS_TABSTOP

          LTEXT "Id",0,8,176,40,10
          STYLE WS_VISIBLE
          ENTRYFIELD "",200,56,180,30,7
          STYLE WS_VISIBLE|ES_MARGIN|ES_AUTOSCROLL|WS_TABSTOP

          LTEXT "IdName",0,96,176,40,10
          STYLE WS_VISIBLE
          ENTRYFIELD "",201,130,180,60,7
          STYLE WS_VISIBLE|ES_MARGIN|ES_AUTOSCROLL|WS_TABSTOP

          GROUPBOX "Resource Memory Flags",0,10,152,184,18
          STYLE WS_VISIBLE|WS_GROUP
          AUTOCHECKBOX "~Preload",101,16,154,40,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "Moveable",102,72,154,44,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "Discardable",103,130,154,50,10
          STYLE WS_VISIBLE|WS_TABSTOP

          GROUPBOX "Alignment",0,8,129,184,19
          STYLE WS_VISIBLE|WS_GROUP
          AUTORADIOBUTTON "Window",104,16,131,40,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTORADIOBUTTON "Screen",105,72,131,40,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTORADIOBUTTON "Mouse",106,130,131,40,10
          STYLE WS_VISIBLE|WS_TABSTOP

          GROUPBOX "Border",0,8,105,184,20
          STYLE WS_VISIBLE|WS_GROUP
          AUTORADIOBUTTON "Dialog",107,16,108,34,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTORADIOBUTTON "Thin",108,50,108,40,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTORADIOBUTTON "Sizing",109,90,108,40,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTORADIOBUTTON "None",120,130,108,40,10
          STYLE WS_VISIBLE|WS_TABSTOP

          GROUPBOX "Optional Controls",0,10,66,184,33
          STYLE WS_VISIBLE|WS_GROUP
          AUTOCHECKBOX "Titlebar",121,16,82,40,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "Min button",122,16,70,48,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "Max button",123,72,82,50,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "System menu",124,72,70,54,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "Vertical scroll",125,130,82,56,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "Horizontal scroll",126,130,70,62,10
          STYLE WS_VISIBLE|WS_TABSTOP

          GROUPBOX "Dialog Box Styles",0,8,27,184,38
          STYLE WS_VISIBLE|WS_GROUP
          AUTOCHECKBOX "Visible",127,14,48,40,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "Disabled",128,14,38,40,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "Save bits",129,14,28,40,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "Sync paint",130,72,48,40,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "System modal",131,72,38,55,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "No byte align",132,72,28,55,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "No move w.o.",133,130,48,40,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "DBCS status",134,130,38,50,10
          STYLE WS_VISIBLE|WS_TABSTOP

          DEFPUSHBUTTON "~Ok",110,26,8,40,15
          STYLE WS_VISIBLE
          DEFPUSHBUTTON "~Cancel",111,76,8,40,15
          STYLE WS_VISIBLE
          DEFPUSHBUTTON "~Help",112,134,8,40,15
          STYLE WS_VISIBLE
     END
END

DLGTEMPLATE 1005
BEGIN
     DIALOG "Options",1005,12,55,234,79
     STYLE FS_DLGBORDER|WS_VISIBLE
     FLAGS FCF_NOBYTEALIGN|FCF_TITLEBAR|FCF_SYSMENU
     PRESPARAMS PP_FONTNAMESIZE, "8.Helv"
     BEGIN
          LTEXT "Grid width",0,12,59,50,10
          STYLE WS_VISIBLE
          ENTRYFIELD "",100,64,63,42,7
          STYLE WS_VISIBLE|ES_MARGIN|ES_AUTOSCROLL|WS_TABSTOP

          GROUPBOX "Create on Save",100,12,12,96,40
          STYLE WS_VISIBLE|WS_GROUP
          AUTOCHECKBOX ".RC",101,20,30,40,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX ".RES",102,20,18,40,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX ".RCC",103,60,30,40,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX ".PAS",104,60,18,40,10
          STYLE WS_VISIBLE|WS_TABSTOP

          DEFPUSHBUTTON "~Ok",110,156,60,40,15
          STYLE WS_VISIBLE
          DEFPUSHBUTTON "~Cancel",111,156,39,40,15
          STYLE WS_VISIBLE
          DEFPUSHBUTTON "~Help",112,156,15,40,15
          STYLE WS_VISIBLE
     END
END

DLGTEMPLATE 1006
BEGIN
     DIALOG "Text styles",1006,12,4,164,170
     STYLE FS_DLGBORDER|WS_VISIBLE
     FLAGS FCF_NOBYTEALIGN|FCF_TITLEBAR|FCF_SYSMENU
     PRESPARAMS PP_FONTNAMESIZE, "8.Helv"
     BEGIN
          LTEXT "Text",0,12,148,40,10
          STYLE WS_VISIBLE
          ENTRYFIELD "",100,46,152,110,7
          STYLE WS_VISIBLE|ES_MARGIN|ES_AUTOSCROLL|WS_TABSTOP

          LTEXT "Id",0,12,136,40,10
          STYLE WS_VISIBLE
          ENTRYFIELD "",200,46,140,30,7
          STYLE WS_VISIBLE|ES_MARGIN|ES_AUTOSCROLL|WS_TABSTOP

          LTEXT "IdName",0,84,136,40,10
          STYLE WS_VISIBLE
          ENTRYFIELD "",201,120,140,35,7
          STYLE WS_VISIBLE|ES_MARGIN|ES_AUTOSCROLL|WS_TABSTOP

          GROUPBOX "Horizontal Alignment",0,8,110,148,23
          STYLE WS_VISIBLE|WS_GROUP
          AUTORADIOBUTTON "Left",102,16,114,40,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTORADIOBUTTON "Center",103,60,114,40,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTORADIOBUTTON "Right",104,108,114,40,10
          STYLE WS_VISIBLE|WS_TABSTOP

          GROUPBOX "Vertical Alignment",0,8,90,148,19
          STYLE WS_VISIBLE|WS_GROUP
          AUTORADIOBUTTON "Top",105,16,93,40,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTORADIOBUTTON "Center",106,60,93,40,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTORADIOBUTTON "Bottom",107,108,93,40,10
          STYLE WS_VISIBLE|WS_TABSTOP

          GROUPBOX "Text Styles",0,8,60,148,30
          STYLE WS_VISIBLE|WS_GROUP
          AUTOCHECKBOX "Halftone",108,16,72,40,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "Mnemonic",109,16,63,46,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "Word break",120,60,72,48,10
          STYLE WS_VISIBLE|WS_TABSTOP

          GROUPBOX "Basic Styles",0,8,26,148,32
          STYLE WS_VISIBLE|WS_GROUP
          AUTOCHECKBOX "Visible",121,16,39,40,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "Disabled",122,16,30,40,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "Group",123,60,39,40,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "Tabstop",124,60,30,40,10
          STYLE WS_VISIBLE|WS_TABSTOP

          DEFPUSHBUTTON "~Ok",110,12,6,40,15
          STYLE WS_VISIBLE
          DEFPUSHBUTTON "~Cancel",111,60,6,40,15
          STYLE WS_VISIBLE
          DEFPUSHBUTTON "~Help",112,108,6,40,15
          STYLE WS_VISIBLE
     END
END

DLGTEMPLATE 1007
BEGIN
     DIALOG "Entry field styles",1007,14,9,166,179
     STYLE FS_DLGBORDER|WS_VISIBLE
     FLAGS FCF_NOBYTEALIGN|FCF_TITLEBAR|FCF_SYSMENU
     PRESPARAMS PP_FONTNAMESIZE, "8.Helv"
     BEGIN
          LTEXT "Text",0,12,164,40,10
          STYLE WS_VISIBLE
          ENTRYFIELD "",100,36,168,122,7
          STYLE WS_VISIBLE|ES_MARGIN|ES_AUTOSCROLL|WS_TABSTOP

          LTEXT "Id",0,12,150,40,10
          STYLE WS_VISIBLE
          ENTRYFIELD "",200,26,154,30,7
          STYLE WS_VISIBLE|ES_MARGIN|ES_AUTOSCROLL|WS_TABSTOP

          LTEXT "IdName",0,75,150,40,10
          STYLE WS_VISIBLE
          ENTRYFIELD "",201,105,154,53,7
          STYLE WS_VISIBLE|ES_MARGIN|ES_AUTOSCROLL|WS_TABSTOP

          GROUPBOX "Alignment",0,12,129,148,20
          STYLE WS_VISIBLE|WS_GROUP
          AUTORADIOBUTTON "Left",102,20,132,40,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTORADIOBUTTON "Center",103,64,132,40,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTORADIOBUTTON "Right",104,112,132,40,10
          STYLE WS_VISIBLE|WS_TABSTOP

          GROUPBOX "Entry Field Styles",0,12,90,148,38
          STYLE WS_VISIBLE|WS_GROUP
          AUTOCHECKBOX "Auto tab",105,20,93,40,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "Margin",106,20,102,40,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "Auto scroll",107,20,111,46,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "Read only",108,100,111,46,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "Unreadable",109,100,102,50,10
          STYLE WS_VISIBLE|WS_TABSTOP

          GROUPBOX "DBCS Support Styles",0,12,60,148,29
          STYLE WS_VISIBLE|WS_GROUP
          AUTORADIOBUTTON "Any",120,20,72,40,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTORADIOBUTTON "Mixed",121,20,63,40,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTORADIOBUTTON "SBCS only",122,100,72,48,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTORADIOBUTTON "DBCS only",123,100,63,48,10
          STYLE WS_VISIBLE|WS_TABSTOP

          GROUPBOX "Basic Styles",0,12,27,148,30
          STYLE WS_VISIBLE|WS_GROUP
          AUTOCHECKBOX "Visible",124,20,39,40,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "Disabled",125,20,30,40,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "Group",126,100,39,40,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "Tabstop",127,100,30,40,10
          STYLE WS_VISIBLE|WS_TABSTOP

          DEFPUSHBUTTON "~Ok",110,24,6,40,15
          STYLE WS_VISIBLE
          DEFPUSHBUTTON "~Cancel",111,72,6,40,15
          STYLE WS_VISIBLE
          DEFPUSHBUTTON "~Help",112,116,6,40,15
          STYLE WS_VISIBLE
     END
END

DLGTEMPLATE 1008
BEGIN
     DIALOG "List box styles",1008,36,4,164,138
     STYLE FS_DLGBORDER|WS_VISIBLE
     FLAGS FCF_NOBYTEALIGN|FCF_TITLEBAR|FCF_SYSMENU
     PRESPARAMS PP_FONTNAMESIZE, "8.Helv"
     BEGIN
          LTEXT "Text",0,12,120,40,10
          STYLE WS_VISIBLE|WS_GROUP
          ENTRYFIELD "",100,40,124,116,7
          STYLE WS_VISIBLE|WS_TABSTOP|ES_MARGIN|ES_AUTOSCROLL

          LTEXT "Id",100,12,108,40,10
          STYLE WS_VISIBLE|WS_GROUP
          ENTRYFIELD "",200,40,112,32,7
          STYLE WS_VISIBLE|WS_TABSTOP|ES_MARGIN|ES_AUTOSCROLL

          LTEXT "IdName",100,80,108,40,10
          STYLE WS_VISIBLE|WS_GROUP
          ENTRYFIELD "",201,108,112,46,7
          STYLE WS_VISIBLE|WS_TABSTOP|ES_MARGIN|ES_AUTOSCROLL

          GROUPBOX "List Box Styles",0,12,66,144,38
          STYLE WS_VISIBLE|WS_GROUP
          AUTOCHECKBOX "Owner draw",101,20,87,52,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "No adjust pos",102,20,78,56,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "Horizontal scroll",103,20,69,64,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "Multiple selection",104,80,87,68,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "Extended selection",105,80,78,40,10
          STYLE WS_VISIBLE|WS_TABSTOP

          GROUPBOX "Basic Styles",106,12,33,142,29
          STYLE WS_VISIBLE|WS_GROUP
          AUTOCHECKBOX "Visible",107,20,45,40,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "Disabled",108,20,36,40,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "Group",109,80,45,40,10
          STYLE WS_VISIBLE|WS_TABSTOP
          AUTOCHECKBOX "Tabstop",120,80,36,40,10
          STYLE WS_VISIBLE|WS_TABSTOP

          DEFPUSHBUTTON "~Ok",110,16,12,40,15
          STYLE WS_VISIBLE|WS_TABSTOP
          DEFPUSHBUTTON "~Cancel",111,64,12,40,15
          STYLE WS_VISIBLE|WS_TABSTOP
          DEFPUSHBUTTON "~Help",112,112,12,40,15
          STYLE WS_VISIBLE|WS_TABSTOP
     END
END

END


