home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / begin / dll / demo.rc < prev    next >
Encoding:
Text File  |  1997-10-05  |  2.3 KB  |  77 lines

  1.  
  2. //-----------------------------------------------------------------------------
  3. // This is a part of the Microsoft Source Code Samples. 
  4. // Copyright (C) 1993-1997 Microsoft Corporation.
  5. // All rights reserved. 
  6. //  
  7. // This source code is only intended as a supplement to 
  8. // Microsoft Development Tools and/or WinHelp documentation.
  9. // See these sources for detailed information regarding the 
  10. // Microsoft samples programs.
  11. //-----------------------------------------------------------------------------
  12.  
  13. #include "windows.h"
  14. #include "demo.h"
  15.  
  16. Menu MENU
  17. BEGIN
  18.     POPUP        "&Options"
  19.       BEGIN
  20.         MENUITEM    "&Line",            IDM_BOX
  21.         MENUITEM    "&Box",             IDM_BLOCK, CHECKED
  22.         MENUITEM    "&Retain",          IDM_RETAIN
  23.         MENUITEM    SEPARATOR
  24.         MENUITEM    "&About Demo...",   IDM_ABOUT
  25.       END
  26. END
  27.  
  28. AboutBox DIALOG 22, 17, 144, 75
  29. STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
  30. CAPTION "About Demo"
  31. BEGIN
  32.     CTEXT "Microsoft Windows"         -1,      0,  5, 144,  8
  33.     CTEXT "Demo Library Application"  -1,      0, 14, 144,  8
  34.     CTEXT "Version 3.0"               -1,      0, 34, 144,  8
  35.     DEFPUSHBUTTON "OK"                IDOK,   53, 59,  32, 14,   WS_GROUP
  36. END
  37.  
  38. STRINGTABLE
  39. BEGIN
  40.     IDS_APPNAME     "Demo Sample Application"
  41.     IDS_NOMEM       "<DemoInit> Not enough memory."
  42. END
  43.  
  44. #ifdef JAPAN
  45. // Japanese language version of resources
  46. LANGUAGE LANG_JAPANESE, SUBLANG_NEUTRAL
  47.  
  48. Menu MENU
  49. BEGIN
  50.     POPUP     "âIâvâVâçâô(&O)"
  51.       BEGIN
  52.         MENUITEM    "Éⁿ(&L)",                    IDM_BOX
  53.         MENUITEM    "â{âbâNâX(&B)",                IDM_BLOCK, CHECKED
  54.         MENUITEM    "ò█Ä¥(&R)",                    IDM_RETAIN
  55.         MENUITEM    SEPARATOR
  56.         MENUITEM    "âoü[âWâçâôÅεò±(&A)...",    IDM_ABOUT
  57.       END
  58. END
  59.  
  60. AboutBox DIALOG 22, 17, 144, 75
  61. STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
  62. CAPTION "Demo é╠âoü[âWâçâôÅεò±"
  63. BEGIN
  64.     CTEXT "Microsoft Windows"          -1,      0,  5, 144,  8
  65.     CTEXT "Demo ╫▓╠▐╫╪ ▒╠▀╪╣░╝«▌"     -1,      0, 14, 144,  8
  66.     CTEXT "Version 3.0"               -1,      0, 34, 144,  8
  67.     DEFPUSHBUTTON "OK"                  IDOK,   53, 59,  32, 14,     WS_GROUP
  68. END
  69.  
  70. STRINGTABLE
  71. BEGIN
  72.     IDS_APPNAME     "Demo âTâôâvâï âAâvâèâPü[âVâçâô"
  73.     IDS_NOMEM       "<DemoInit> âüâéâèòsæ½é┼é╖üB"
  74. END
  75.  
  76. #endif
  77.