home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / magazine / pcmagazi / 1989 / 20 / popmenu.rc < prev    next >
Text File  |  1989-10-13  |  4KB  |  107 lines

  1. /*----------------------------
  2.    POPMENU.RC resource script
  3.   ----------------------------*/
  4.  
  5. #include <os2.h>
  6. #include "popmenu.h"
  7.  
  8. MENU ID_NORMAL
  9.      {
  10.      SUBMENU "~File",              -1
  11.           {
  12.           MENUITEM "~New",              IDM_NEW
  13.           MENUITEM "~Open",             IDM_OPEN
  14.           MENUITEM "~Save",             IDM_SAVE
  15.           MENUITEM "Save ~As",          IDM_SAVEAS
  16.           MENUITEM SEPARATOR
  17.           MENUITEM "A~bout PopMenu...", IDM_ABOUT
  18.           }
  19.      SUBMENU "~Edit",              -1
  20.           {
  21.           MENUITEM "Cu~t",              IDM_CUT
  22.           MENUITEM "~Copy",             IDM_COPY
  23.           MENUITEM "~Paste",            IDM_PASTE
  24.           MENUITEM "C~lear",            IDM_CLEAR
  25.           }
  26.      SUBMENU "~Options",           -1
  27.           {
  28.           SUBMENU "~Color",        -1
  29.                {
  30.                MENUITEM "~Red",         IDM_RED
  31.                MENUITEM "~Green",       IDM_GREEN
  32.                MENUITEM "~Blue",        IDM_BLUE
  33.                }
  34.           SUBMENU "~Size",         -1
  35.                {
  36.                MENUITEM "~Small",       IDM_SMALL
  37.                MENUITEM "~Medium",      IDM_MEDIUM
  38.                MENUITEM "~Large",       IDM_LARGE
  39.                }
  40.           SUBMENU "S~peed",        -1
  41.                {
  42.                MENUITEM "~Slow",        IDM_SLOW
  43.                MENUITEM "~Medium",      IDM_MEDSPEED
  44.                MENUITEM "~Fast",        IDM_FAST
  45.                }
  46.           }
  47.      }
  48.  
  49. MENU ID_POPUP
  50.      {
  51.      SUBMENU "",                   IDM_POPUP
  52.           {
  53.           SUBMENU "File",               -1
  54.                {
  55.                MENUITEM "New",               IDM_NEW
  56.                MENUITEM "Open",              IDM_OPEN
  57.                MENUITEM "Save",              IDM_SAVE
  58.                MENUITEM "Save As",           IDM_SAVEAS
  59.                MENUITEM SEPARATOR
  60.                MENUITEM "About PopMenu...",  IDM_ABOUT
  61.                }
  62.           SUBMENU "Edit",               -1
  63.                {
  64.                MENUITEM "Cut",               IDM_CUT
  65.                MENUITEM "Copy",              IDM_COPY
  66.                MENUITEM "Paste",             IDM_PASTE
  67.                MENUITEM "Clear",             IDM_CLEAR
  68.                }
  69.           SUBMENU "Options",            -1
  70.                {
  71.                SUBMENU "Color",         -1
  72.                     {
  73.                     MENUITEM "Red",          IDM_RED
  74.                     MENUITEM "Green",        IDM_GREEN
  75.                     MENUITEM "Blue",         IDM_BLUE
  76.                     }
  77.                SUBMENU "Size",          -1
  78.                     {
  79.                     MENUITEM "Small",        IDM_SMALL
  80.                     MENUITEM "Medium",       IDM_MEDIUM
  81.                     MENUITEM "Large",        IDM_LARGE
  82.                     }
  83.                SUBMENU "Speed",         -1
  84.                     {
  85.                     MENUITEM "Slow",         IDM_SLOW
  86.                     MENUITEM "Medium",       IDM_MEDSPEED
  87.                     MENUITEM "Fast",         IDM_FAST
  88.                     }
  89.                }
  90.           }
  91.      }
  92.  
  93. DLGTEMPLATE IDD_ABOUT
  94.      {
  95.      DIALOG "", 0, 32, 32, 200, 100,, FCF_DLGBORDER
  96.           {
  97.           CTEXT "PopMenu"                             -1, 10, 76, 180, 8
  98.           CTEXT "PC Magazine, Vol. 8 No. 20"          -1, 10, 52, 180, 8
  99.           CTEXT "(c) 1989, Ziff Communications Co."   -1, 10, 42, 180, 8
  100.           CTEXT "Programmed by Charles Petzold, 8/89" -1, 10, 32, 180, 8
  101.           DEFPUSHBUTTON "OK"             DID_OK, 80, 8, 40, 16, WS_GROUP
  102.           }
  103.      }
  104.  
  105.  
  106.  
  107.