home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / powergui / exceptns / exviewer / exviewer.rc < prev    next >
Encoding:
Text File  |  1996-10-29  |  883 b   |  34 lines

  1. /************************************************************
  2. / Error Reporting - Exception Viewer Example
  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 "exviewer.h"
  9.  
  10. #ifdef IC_PM                                    // OS/2 resources
  11. MENU WND_MAIN                                   //Main Window Menu 
  12.   BEGIN
  13.     MENUITEM "~Throw Exception",   THROW_EXCEPTION
  14.   END
  15.  
  16. STRINGTABLE
  17.   BEGIN
  18.     WND_MAIN,   "Exception Handling Example"    //Title bar text
  19.   END
  20.  
  21. #else
  22.  
  23. STRINGTABLE
  24.   BEGIN
  25.     WND_MAIN,   "Exception Handling Example"    //Title bar text
  26.   END
  27.  
  28.  
  29. WND_MAIN MENUEX                                 //Main Window Menu 
  30.   BEGIN
  31.     MENUITEM "&Throw Exception",   THROW_EXCEPTION
  32.   END
  33. #endif
  34.