home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C!T ROM 5
/
ctrom5b.zip
/
ctrom5b
/
OS2
/
SPEL
/
UCHESS
/
UCHESSRC
/
UCHESS.RC
< prev
next >
Wrap
Text File
|
1994-11-07
|
4KB
|
117 lines
#include <os2.h>
#include "UChess.h"
ICON ID_FRAME_RES UChess.ICO
MENU MENU_ID PRELOAD
{
SUBMENU "~Game", 10
{
MENUITEM "~Load Game", IDM_LOADGAME
MENUITEM "~Save Game", IDM_SAVEGAME
MENUITEM SEPARATOR
MENUITEM "L~ist Game", IDM_LISTGAME
MENUITEM "~New Game", IDM_NEWGAME
MENUITEM SEPARATOR
MENUITEM "E~xit\tAlt+X", IDM_EXIT
}
SUBMENU "~Options", 20
{
MENUITEM "~Time Controls", IDM_TIMECONTROL
MENUITEM "~Players", IDM_PLAYERS
MENUITEM "Toggle ~Beep", IDM_LOOK
MENUITEM "Toggle ~Verbose", IDM_VERBOSE
MENUITEM "~Skill Level", IDM_SKILL
}
SUBMENU "~Special", 30
{
MENUITEM "~Hint\tAlt+H", IDM_HINT
MENUITEM "~Move Now\tAlt+M", IDM_MOVENOW
MENUITEM "~Undo Move", IDM_TAKEBACK
MENUITEM SEPARATOR
MENUITEM "~Edit Board", IDM_EDIT
MENUITEM SEPARATOR
MENUITEM "~Calc Pgm Rating", IDM_CALC
MENUITEM "~Test CPU Speed", IDM_TEST
}
SUBMENU "~Help", 40
{
MENUITEM "~Help index", IDM_HELPINDEX
MENUITEM "~General help", IDM_HELPEXTENDED
/* MENUITEM "~Keys help", IDM_HELPKEYS */
MENUITEM "~Using help", IDM_HELPHELPFORHELP
MENUITEM SEPARATOR
MENUITEM "~Product information...",IDM_HELPPRODUCTINFO
}
}
ACCELTABLE MENU_ID PRELOAD
{
"X", IDM_EXIT, ALT
"x", IDM_EXIT, ALT
"H", IDM_HINT, ALT
"h", IDM_HINT, ALT
"M", IDM_MOVENOW, ALT
"m", IDM_MOVENOW, ALT
}
/*--------------------------------------------------------------*\
* Help table definition *
\*--------------------------------------------------------------*/
HELPTABLE UCHESS_HELP_TABLE
{
HELPITEM MENU_ID, SUBTABLE_MAIN, PANEL_MAIN
// HELPITEM IDD_TIMEDLG, SUBTABLE_TIMEDLG, PANEL_TIMEDLG
// HELPITEM IDD_SKILL, SUBTABLE_SKILLDLG, PANEL_SKILLDLG
}
/*--------------------------------------------------------------*\
* Main window subtable, includes menu item help *
\*--------------------------------------------------------------*/
HELPSUBTABLE SUBTABLE_MAIN
SUBITEMSIZE 2
{
HELPSUBITEM IDM_HELPHELPFORHELP, PANEL_HELPHELPFORHELP
HELPSUBITEM IDM_HELPEXTENDED, PANEL_HELPEXTENDED
HELPSUBITEM IDM_HELPKEYS, PANEL_HELPKEYS
HELPSUBITEM IDM_HELPINDEX, PANEL_HELPINDEX
HELPSUBITEM IDM_SKILL, PANEL_SKILLMENU
HELPSUBITEM IDM_TIMECONTROL, PANEL_TIMEMENU
HELPSUBITEM IDM_PLAYERS, PANEL_PLAYERMENU
HELPSUBITEM IDM_HINT, PANEL_HINT
HELPSUBITEM IDM_MOVENOW, PANEL_MOVENOW
HELPSUBITEM IDM_TAKEBACK, PANEL_UNDO
HELPSUBITEM IDM_EDIT, PANEL_EDIT
HELPSUBITEM IDM_CALC, PANEL_CALC
HELPSUBITEM IDM_TEST, PANEL_TEST
HELPSUBITEM IDM_LOOK, PANEL_BEEP
HELPSUBITEM IDM_VERBOSE, PANEL_VERBOSE
/* HELPSUBITEM IDM_SET, PANEL_HELPSET*/
/* HELPSUBITEM IDM_ON, PANEL_HELPON*/
/* HELPSUBITEM IDM_OFF, PANEL_HELPOFF*/
}
/*--------------------------------------------------------------*\
* Enter text dialog help subtable *
\*--------------------------------------------------------------*/
//HELPSUBTABLE SUBTABLE_TIMEDLG
//SUBITEMSIZE 2
//{
// HELPSUBITEM IDD_ENTRYFLD, PANEL_PRODUCTINFO_OK
// HELPSUBITEM DID_OK, PANEL_PRODUCTINFO_OK
//}
STRINGTABLE
{
IDS_HELPLIBRARYNAME "UChess.HLP"
IDS_HELPWINDOWTITLE "UChess Help"
}
rcinclude uchess.dlg