#include "asgn4.h"


MAINMENU MENU
{
   MENUITEM "&Quit",          IDM_QUIT
   POPUP "&Add"
   {
      MENUITEM "&Student",    IDM_ADD_STUDENT
      MENUITEM "&Instructor", IDM_ADD_INSTRUCTOR
      MENUITEM "&Programmer", IDM_ADD_PROGRAMMER
   }
   MENUITEM "&Clear",         IDM_CLEAR
   MENUITEM "C&opy",          IDM_COPY
   POPUP "&List"
   {
      MENUITEM "List &1",     IDM_LIST_1,         CHECKED
      MENUITEM "List &2",     IDM_LIST_2
   }
   POPUP "&Help"
   {
      MENUITEM "&About",         IDM_ABOUT
   }
}


ADD_STUDENT_DIALOG DIALOG 18, 18, 142, 77
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Add Student"
{
 EDITTEXT ID_NAME, 57, 10, 72, 12,
    ES_LEFT | ES_AUTOHSCROLL | WS_CHILD | WS_VISIBLE |
    WS_BORDER | WS_TABSTOP
 EDITTEXT ID_DEPT, 57, 31, 25, 12,
    ES_LEFT | ES_AUTOHSCROLL | WS_CHILD | WS_VISIBLE |
    WS_BORDER | WS_TABSTOP
 LTEXT "Name", -1, 11, 12, 28, 8
 LTEXT "Department", -1, 11, 33, 43, 8
 DEFPUSHBUTTON "Add", IDC_ADD_BUTTON, 15, 55, 50, 14
 PUSHBUTTON "Cancel", IDC_CANCEL_BUTTON, 76, 55, 50, 14
}


ADD_INSTRUCTOR_DIALOG DIALOG 18, 18, 142, 98
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Add Instructor"
{
 EDITTEXT ID_NAME, 57, 10, 72, 12,
    ES_LEFT | ES_AUTOHSCROLL | WS_CHILD | WS_VISIBLE |
    WS_BORDER | WS_TABSTOP
 EDITTEXT ID_DEPT, 57, 31, 25, 12,
    ES_LEFT | ES_AUTOHSCROLL | WS_CHILD | WS_VISIBLE |
    WS_BORDER | WS_TABSTOP
 EDITTEXT ID_SALARY, 57, 52, 40, 12,
    ES_LEFT | ES_AUTOHSCROLL | WS_CHILD | WS_VISIBLE |
    WS_BORDER | WS_TABSTOP
 LTEXT "Name", -1, 11, 12, 28, 8
 LTEXT "Department", -1, 11, 33, 43, 8
 LTEXT "Salary", -1, 11, 54, 43, 8
 DEFPUSHBUTTON "Add", IDC_ADD_BUTTON, 15, 76, 50, 14
 PUSHBUTTON "Cancel", IDC_CANCEL_BUTTON, 76, 76, 50, 14
}


ADD_PROGRAMMER_DIALOG DIALOG 18, 18, 142, 98
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Add Programmer"
{
 EDITTEXT ID_NAME, 57, 10, 72, 12,
    ES_LEFT | ES_AUTOHSCROLL | WS_CHILD | WS_VISIBLE |
    WS_BORDER | WS_TABSTOP
 EDITTEXT ID_COMPANY, 57, 31, 60, 12,
    ES_LEFT | ES_AUTOHSCROLL | WS_CHILD | WS_VISIBLE |
    WS_BORDER | WS_TABSTOP
 EDITTEXT ID_SALARY, 57, 52, 40, 12,
    ES_LEFT | ES_AUTOHSCROLL | WS_CHILD | WS_VISIBLE |
    WS_BORDER | WS_TABSTOP
 LTEXT "Name", -1, 11, 12, 28, 8
 LTEXT "Company", -1, 11, 33, 43, 8
 LTEXT "Salary", -1, 11, 54, 43, 8
 DEFPUSHBUTTON "Add", IDC_ADD_BUTTON, 15, 76, 50, 14
 PUSHBUTTON "Cancel", IDC_CANCEL_BUTTON, 76, 76, 50, 14
}


MAINICON ICON ASGN4.ICO


ABOUT_DIALOG DIALOG 37, 46, 140, 91
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION
CAPTION "About"
FONT 8, "MS Sans Serif"
{
 DEFPUSHBUTTON "OK", IDOK, 45, 65, 50, 14
 ICON "MAINICON", -1, 17, 21, 18, 20
 LTEXT "CMPT 212", -1, 49, 14, 68, 8
 LTEXT "Sample Assignment 4", -1, 49, 24, 73, 8
 LTEXT "by David J. Simpson", -1, 49, 40, 73, 8
}