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

  1. /************************************************************
  2. / Edit Controls - Using an Edit Handler 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 "logon.h"
  9.  
  10. #ifdef IC_PM   /* OS/2 resources */
  11.  
  12. #include <os2.h>
  13. /***********************************************/
  14. /* Menus                                       */
  15. /***********************************************/
  16. MENU MAIN_MENU
  17. BEGIN
  18.   SUBMENU  "~Options", MI_OPTIONS
  19.   BEGIN
  20.     MENUITEM "~Logon...",  MI_LOGON
  21.     MENUITEM SEPARATOR
  22.     MENUITEM "~Close",   SC_CLOSE,  MIS_SYSCOMMAND
  23.   END
  24. END
  25.  
  26. #else  /* Windows resources */
  27.  
  28. #include <windows.h>
  29. /***********************************************/
  30. /* Menus                                       */
  31. /***********************************************/
  32. MAIN_MENU  MENUEX
  33. BEGIN
  34.   POPUP     "&Options"     , MI_OPTIONS
  35.   BEGIN
  36.     MENUITEM  "&Logon..."  , MI_LOGON
  37.     MENUITEM  SEPARATOR
  38.     MENUITEM  "&Close"     , SC_CLOSE  /*MIS_SYSCOMMAND*/
  39.   END
  40. END
  41. #endif
  42.  
  43. /***********************************************/
  44. /* String table                                */
  45. /***********************************************/
  46. STRINGTABLE
  47.   BEGIN
  48.     SI_LOGONPASSED , "Logon passed"
  49.     SI_LOGONFAILED , "Logon failed"
  50.     ID_LOGONIDPMT  , "Logon ID"
  51.     ID_LOGONID     , "PowerGUI"
  52.     ID_LOGONPWPMT  , "Password"
  53.     ID_LOGONPW     , "PowerGUI"
  54.     ID_OKBUTTON    , "Ok"
  55.   END
  56.