home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / powergui / getstart / start2 / start2.rc < prev    next >
Encoding:
Text File  |  1996-10-29  |  1.1 KB  |  47 lines

  1. /**********************************************************
  2. / Getting Started - Simple Program, Version 2
  3. /
  4. / Copyright (C) 1994, Law, Leong, Love, Olson, Tsuji.
  5. / Copyright (c) 1997 John Wiley & Sons, Inc. 
  6. / All Rights Reserved.
  7. /*********************************************************/
  8. #include "start2.h"
  9.  
  10. #ifdef IC_PM /* OS/2 resources */
  11.  
  12. #define INCL_WINFRAMEMGR     // For SC_CLOSE.
  13. #define INCL_WINMENUS        // For MIS_SYSCOMMAND.
  14. #include <os2.h>
  15.  
  16. MENU ID_CODEWINDOW
  17.   BEGIN
  18.     SUBMENU "~File",         ID_FILE
  19.       BEGIN
  20.         MENUITEM "Close",    SC_CLOSE, MIS_SYSCOMMAND
  21.       END
  22.     SUBMENU "~Edit",         ID_EDIT
  23.       BEGIN
  24.         MENUITEM "Cu~t",     CMD_CUT
  25.         MENUITEM "~Copy",    CMD_COPY
  26.         MENUITEM "~Paste",   CMD_PASTE
  27.       END
  28.   END
  29.  
  30. #else /* Windows resources */
  31.  
  32. ID_CODEWINDOW MENUEX
  33.   BEGIN
  34.     POPUP "&File",           ID_FILE
  35.       BEGIN
  36.         MENUITEM "Close",    SC_CLOSE
  37.       END
  38.     POPUP "&Edit",           ID_EDIT
  39.       BEGIN
  40.         MENUITEM "Cu&t",     CMD_CUT
  41.         MENUITEM "&Copy",    CMD_COPY
  42.         MENUITEM "&Paste",   CMD_PASTE
  43.       END
  44.   END
  45.  
  46. #endif
  47.