REVERSI.RC
资源名称:MSDN_VC98.zip [点击查看]
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:4k
源码类别:
Windows编程
开发平台:
Visual C++
- #include "windows.h"
- #include "reversi.h"
- 3 ICON REVERSI.ICO
- 1 CURSOR PRELOAD blank.cur
- 1 MENU
- BEGIN
- POPUP "&Game"
- begin
- MENUITEM "&Hint", 50
- MENUITEM "&Pass", 20
- MENUITEM "&New", 25
- MENUITEM SEPARATOR
- MENUITEM "E&xit", 52
- end
- popup "&Skill"
- BEGIN
- MENUITEM "&Beginner", 41
- MENUITEM "&Novice", 42
- MENUITEM "&Expert", 44
- MENUITEM "&Master", 46
- END
- #ifndef NOHELP
- POPUP "&Help"
- BEGIN
- MENUITEM "&About Reversi...", MN_HELP_ABOUT
- END
- #else
- POPUP "&Info"
- BEGIN
- MENUITEM "&About Reversi...", MN_HELP_ABOUT
- END
- #endif /*NOHELP*/
- END
- MAINACC ACCELERATORS
- BEGIN
- "^h", 50, NOINVERT
- VK_F1, MN_HELP_INDEX, VIRTKEY
- END
- stringtable
- begin
- 3, "Reversi"
- 4, "Reversi Practice Game"
- 5, "Pass"
- 6, "You must Pass"
- 7, "Tie Game"
- 8, "You Lost by " /* space at the end is required */
- 9, "You Won by " /* space at the end is required */
- 10, "About..."
- 11, "" /* the post string for the loss message */
- 12, "" /* the post string for the won message */
- 13, "You may only move to a space where the cursor is a cross."
- 14, "You may not pass. Move where the cursor is a cross."
- 15, "reversi.hlp"
- end
- 3 DIALOG DISCARDABLE 22, 17, 191, 91
- STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
- CAPTION "About Reversi"
- FONT 8, "System"
- BEGIN
- CTEXT "Microsoft Windows",-1,0,5,191,8
- CTEXT "Reversi",-1,0,15,191,8
- CTEXT "Version 4.0 ",-1,0,32,191,8
- CTEXT "Copyright 251 1985-1995",-1,0,44,191,9
- DEFPUSHBUTTON "OK",IDOK,79,73,32,14,WS_GROUP
- ICON 3,-1,24,12,18,20,WS_GROUP
- CTEXT "Microsoft Corp.",-1,0,52,191,9
- CTEXT "All Rights Reserved.",-1,0,60,191,9
- END
- #ifdef JAPAN
- LANGUAGE LANG_JAPANESE, SUBLANG_NEUTRAL
- 1 MENU
- BEGIN
- POPUP "僎乕儉(&G)"
- begin
- MENUITEM "僸儞僩(&H)", 50
- MENUITEM "僷僗(&P)", 20
- MENUITEM "怴婯僎乕儉(&N)", 25
- MENUITEM SEPARATOR
- MENUITEM "廔椆(&X)", 52
- end
- popup "僗僉儖(&S)"
- BEGIN
- MENUITEM "弶媺(&B)", 41
- MENUITEM "拞媺(&N)", 42
- MENUITEM "忋媺(&E)", 44
- MENUITEM "柤恖(&M)", 46
- END
- #ifndef NOHELP
- POPUP "僿儖僾(&H)"
- BEGIN
- MENUITEM "僶乕僕儑儞忣曬(&A)...", MN_HELP_ABOUT
- END
- #else
- POPUP "&Info"
- BEGIN
- MENUITEM "&About Reversi...", MN_HELP_ABOUT
- END
- #endif /*NOHELP*/
- END
- MAINACC ACCELERATORS
- BEGIN
- "^h", 50, NOINVERT
- VK_F1, MN_HELP_INDEX, VIRTKEY
- END
- stringtable
- begin
- 3, "Reversi"
- 4, "Reversi Practice Game"
- 5, "僷僗"
- 6, "僷僗偟側偗傟偽側傝傑偣傫"
- 7, "堷偒暘偗偱偡"
- 8, "" /* the pre string for the loss message */
- 9, "" /* the pre string for the loss message */
- 10, "僶乕僕儑儞忣曬..."
- 11, " 屄嵎偱偁側偨偺晧偗偱偡" /* space at the begining is required */
- 12, " 屄嵎偱偁側偨偺彑偪偱偡" /* space at the begining is required */
- 13, "僇乕僜儖偑廫帤偵側傞偲偙傠偺傒抲偗傑偡丅"
- 14, "僷僗偱偒傑偣傫丅僇乕僜儖偑廫帤偵側傞偲偙傠偵抲偄偰偔偩偝偄丅"
- 15, "reversi.hlp"
- end
- 3 DIALOG DISCARDABLE 22, 17, 191, 91
- STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
- CAPTION "Reversi 偺僶乕僕儑儞忣曬"
- FONT 8, "System"
- BEGIN
- CTEXT "Microsoft Windows",-1,0,5,191,8
- CTEXT "Reversi",-1,0,15,191,8
- CTEXT "Version 4.0 ",-1,0,32,191,8
- CTEXT "Copyright (C) 1985-1995",-1,0,44,191,9
- DEFPUSHBUTTON "OK",IDOK,79,73,32,14,WS_GROUP
- ICON 3,-1,24,12,18,20,WS_GROUP
- CTEXT "Microsoft Corp.",-1,0,52,191,9
- CTEXT "All Rights Reserved.",-1,0,60,191,9
- END
- #endif