Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

115 lines
3.2 KiB

  1. #include <windows.h>
  2. #include "crd.h"
  3. #include "cdt.h"
  4. #include "sol.h"
  5. #include "solid.h"
  6. #include <ntverp.h>
  7. #define VER_FILETYPE VFT_APP
  8. #define VER_FILESUBTYPE VFT2_UNKNOWN
  9. #define VER_FILEDESCRIPTION_STR "Solitaire Game Applet"
  10. #define VER_INTERNALNAME_STR "sol.exe"
  11. #define VER_ORIGINALFILENAME_STR "sol.exe"
  12. #include "common.ver"
  13. 1 MENU
  14. BEGIN
  15. POPUP "&Game"
  16. BEGIN
  17. MENUITEM "&Deal\t F2", idsInitiate
  18. MENUITEM SEPARATOR
  19. MENUITEM "&Undo", idsUndo
  20. MENUITEM "De&ck...", idsBacks
  21. MENUITEM "&Options...", idsOptions
  22. MENUITEM SEPARATOR
  23. MENUITEM "E&xit", idsExit
  24. END
  25. #if DBG
  26. POPUP " "
  27. BEGIN
  28. MENUITEM "Set &Game Number", idsGameNo
  29. MENUITEM "&Print icrdMacs", idsCardMacs
  30. MENUITEM "&Force Win", idsForceWin
  31. MENUITEM "&Assert Failure", idsAssertFail
  32. MENUITEM "&Marquee Test", idsMarquee
  33. MENUITEM "&Configure for screen shots", idsScreenShots
  34. END
  35. #endif
  36. POPUP "&Help"
  37. BEGIN
  38. MENUITEM "&Contents\t F1", idsHelpIndex
  39. MENUITEM "&Search for Help on...", idsHelpSearch
  40. MENUITEM "&How to Use Help", idsHelpUsing
  41. MENUITEM SEPARATOR
  42. MENUITEM "&About Solitaire", idsAbout
  43. END
  44. END
  45. HiddenAccel ACCELERATORS {
  46. 0x32, idsForceWin, VIRTKEY, NOINVERT, ALT, SHIFT
  47. VK_F2, idsInitiate, VIRTKEY
  48. }
  49. STRINGTABLE
  50. BEGIN
  51. idsAppName, "Solitaire"
  52. idsScore, "Score: "
  53. idsTime, "Time: "
  54. idsCardDraw, "CardDraw"
  55. idsDealAgain, "Deal Again?"
  56. idsHelpFile , "sol.chm"
  57. idsEndWinner, "Press Esc or a mouse button to stop..."
  58. idsBonus, "Bonus: "
  59. idsExtraInfo, "Developed for Microsoft by Wes Cherry"
  60. idsBack, "Back"
  61. idsOpts, "Options"
  62. idsBitmap, "Bitmap"
  63. idsiCurrency, "iCurrency"
  64. idssCurrency, "sCurrency"
  65. idsIntl, "intl"
  66. idsOOM, "Out of memory"
  67. idsNoHelp, "Unable load Windows Help application"
  68. idsNoBitmap, "Unable to load bitmap; do you want to use a green background?"
  69. idsNoFullDrag, "Insufficient memory to display card faces when cards move;\n\nselect the Outline dragging box from the Options menu."
  70. idsInitiate , "Deal a new game"
  71. idsUndo, "Undo last action"
  72. idsBacks, "Choose new deck back"
  73. idsOptions, "Change Solitaire options"
  74. idsExit, "Exit Solitaire"
  75. idsGameNo, "Set game number"
  76. idsCardMacs, "Print # of cards in each col"
  77. idsAssertFail, "Assertion failure"
  78. idsMarquee, "Heck, I don't know"
  79. idsScreenShots, "Configure Solitaire for screen shots"
  80. idsForceWin, "Force a win"
  81. idsHelpIndex, "Index of Solitaire help topics"
  82. idsHelpSearch, "Search the Help Engine for a specific topic"
  83. idsHelpUsing, "Help using help"
  84. idsAbout, "About Solitaire"
  85. END
  86. rcinclude solid.h
  87. rcinclude sol.dlg
  88. rcinclude gameno.dlg
  89. rcinclude assert.h
  90. rcinclude assert.dlg
  91. ID_ICON_MAIN ICON sol.ic3