#include "resource.h"
#define OpenBtn		128
#define EditBtn		129
#define BuildBtn	130
#define ExecuteBtn	131
#define ShowBtn		132
#define Edit1		133
#define Edit2		134
#define OkBtn		135
#define OptEdt		136
#define OptionBtn	137

MainIcon ICON "main.ico"
MainWindow DIALOG 140,80,250,130
STYLE WS_CAPTION|WS_MINIMIZEBOX|WS_SYSMENU|WS_VISIBLE|DS_SYSMODAL|WS_POPUP|WS_MAXIMIZEBOX
EXSTYLE WS_EX_DLGMODALFRAME
CAPTION "Asm Builder"
FONT 8, "Arial"

BEGIN
  CONTROL "Open"   ,OpenBtn,   "button",BS_PUSHBUTTON|WS_VISIBLE|WS_TABSTOP,1,16,40,12
  CONTROL "Edit"   ,EditBtn,   "button",WS_DISABLED|BS_PUSHBUTTON|WS_VISIBLE|WS_TABSTOP,43,16,40,12
  CONTROL "Build"  ,BuildBtn,  "button",WS_DISABLED|BS_PUSHBUTTON|WS_VISIBLE|WS_TABSTOP,86,16,40,12
  CONTROL "Execute",ExecuteBtn,"button",WS_DISABLED|BS_PUSHBUTTON|WS_VISIBLE|WS_TABSTOP,128,16,40,12
  CONTROL "Options",OptionBtn, "button",WS_DISABLED|BS_PUSHBUTTON|WS_VISIBLE|WS_TABSTOP,170,16,40,12
  CONTROL "Show"   ,ShowBtn,   "button",BS_AUTOCHECKBOX|WS_VISIBLE|WS_TABSTOP,213,16,40,12

  CONTROL "",Edit1,"edit",WS_VISIBLE|WS_TABSTOP|WS_BORDER|ES_AUTOHSCROLL,0,1,250,12
  CONTROL "",Edit2,"edit",WS_VISIBLE|ES_MULTILINE|ES_WANTRETURN|WS_BORDER|ES_AUTOVSCROLL|WS_VSCROLL,0,30,250,100
END

OptionWindow DIALOG 10,30,210,85
STYLE WS_CAPTION|WS_VISIBLE
EXSTYLE WS_EX_DLGMODALFRAME
CAPTION "Asm Builder Option"
FONT 8, "Arial"
BEGIN
  CONTROL "",OptEdt,"edit",WS_VISIBLE|ES_MULTILINE|ES_WANTRETURN|WS_BORDER|WS_VSCROLL|ES_AUTOVSCROLL|ES_AUTOHSCROLL,0,0,210,70
  CONTROL "Apply"   ,OkBtn,"button",BS_PUSHBUTTON|WS_VISIBLE,168,72,40,12
  CONTROL "(c) FrostFix, 2001. (e-mail: frostfix@mail.ru)",0,"static",WS_VISIBLE,3,74,160,12
END