windows-nt/Source/XPSP1/NT/enduser/speech/sapi/tools/gramcomp/gramcomp.rc

306 lines
9.4 KiB
Plaintext
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
//Microsoft Developer Studio generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#define APSTUDIO_HIDDEN_SYMBOLS
#include "windows.h"
#undef APSTUDIO_HIDDEN_SYMBOLS
#include "resource.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// English (U.S.) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_GRAMCOMP ICON DISCARDABLE "GramComp.ICO"
IDI_SMALL ICON DISCARDABLE "SMALL.ICO"
/////////////////////////////////////////////////////////////////////////////
//
// Menu
//
IDC_GRAMCOMP MENU DISCARDABLE
BEGIN
POPUP "&File"
BEGIN
MENUITEM "&New... Ctrl+N", IDM_FILE_NEW
MENUITEM "&Open... Ctrl+O", IDM_FILE_OPEN
MENUITEM SEPARATOR
MENUITEM "&Save Ctrl+S", IDM_FILE_SAVE
MENUITEM "Save &As...", IDM_FILE_SAVEAS
MENUITEM SEPARATOR
MENUITEM "E&xit", IDM_EXIT
END
POPUP "&Edit"
BEGIN
MENUITEM "&Undo Ctrl+Z", IDM_EDIT_UNDO, GRAYED
MENUITEM "&Redo Ctrl+Y", IDM_EDIT_REDO, GRAYED
MENUITEM SEPARATOR
MENUITEM "C&ut Ctrl+X", IDM_EDIT_CUT, GRAYED
MENUITEM "&Copy Ctrl+C", IDM_EDIT_COPY, GRAYED
MENUITEM "&Paste Ctrl+V", IDM_EDIT_PASTE
MENUITEM "&Delete Del", IDM_EDIT_DELETE
MENUITEM SEPARATOR
MENUITEM "Select A&ll Ctrl+A", IDM_EDIT_SELECTALL
MENUITEM SEPARATOR
MENUITEM "&Find... Ctrl+F", IDM_EDIT_FIND
MENUITEM "&Go To Ctrl+G", IDM_EDIT_GOTO
END
POPUP "&Build"
BEGIN
MENUITEM "&Compile F7", IDM_BUILD_COMPILE
END
POPUP "&Tools"
BEGIN
MENUITEM "Compile and T&est Grammar F10", IDM_TESTGRAMMAR
END
POPUP "&Help"
BEGIN
MENUITEM "&About ...", IDM_ABOUT
END
END
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_ABOUTBOX DIALOG DISCARDABLE 22, 17, 230, 75
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
CAPTION "About"
FONT 8, "System"
BEGIN
ICON IDI_GRAMCOMP,IDC_MYICON,14,9,20,20
LTEXT "Speech Grammar Compiler Version 1.0",IDC_STATIC,49,10,
139,8,SS_NOPREFIX
LTEXT "Copyright (C) 2000 Microsoft Corp.",IDC_STATIC,49,20,
119,8
DEFPUSHBUTTON "OK",IDOK,195,6,30,11,WS_GROUP
END
IDD_DIALOG_COMPILE DIALOG DISCARDABLE 0, 0, 432, 150
STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Grammar Compiler Status"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "OK",IDOK,191,129,50,14
LISTBOX IDC_LIST_STATUS,15,33,402,88,LBS_SORT |
LBS_NOINTEGRALHEIGHT | LBS_NOSEL | WS_VSCROLL |
WS_HSCROLL | WS_TABSTOP
LTEXT "Compilation Status:",IDC_STATUS,17,15,402,13
END
IDD_FIND DIALOG DISCARDABLE 0, 0, 235, 63
STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Find"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Find what:",IDC_STATIC,7,11,34,8
EDITTEXT IDE_FINDTEXT,47,9,129,13,ES_AUTOHSCROLL
DEFPUSHBUTTON "&Find Next",IDB_FINDNEXT,181,8,47,15
PUSHBUTTON "Cancel",IDB_CANCEL,181,26,47,15
CONTROL "Up",IDB_UP,"Button",BS_AUTORADIOBUTTON,113,41,24,10
CONTROL "Down",IDB_DOWN,"Button",BS_AUTORADIOBUTTON,139,41,32,10
GROUPBOX "Direction",IDC_STATIC,111,31,63,25
CONTROL "Match Case",IDB_MATCHCASE,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,13,44,62,11
END
IDD_TESTGRAMMAR DIALOG DISCARDABLE 0, 0, 295, 351
STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Test Grammar"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "To change the Speech Recognition Engine please use the Speech Control Panel icon.",
IDC_STATIC,7,334,281,10
CONTROL "Begin Recognition",IDC_BEGINRECO,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,45,300,73,12
LTEXT "",IDC_GRAMMAR_STATUS,7,4,281,18
CONTROL "Mute Microphone",IDB_MUTE,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,164,302,73,12
LTEXT "Emulate Recognition",IDC_STATIC,7,322,67,11
EDITTEXT IDC_EDIT_PARSETEXT,75,320,145,13,ES_AUTOHSCROLL |
WS_DISABLED
DEFPUSHBUTTON "Submit",IDC_BUTTON_SUBMIT,224,319,64,15
EDITTEXT IDC_LIST_PHRASES,7,25,281,263,ES_MULTILINE |
ES_AUTOHSCROLL | ES_READONLY | WS_VSCROLL | NOT
WS_TABSTOP
END
IDD_GOTO DIALOG DISCARDABLE 0, 0, 133, 49
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Goto Line"
FONT 8, "MS Shell Dlg"
BEGIN
EDITTEXT IDE_LINE,7,7,64,14,ES_AUTOHSCROLL
DEFPUSHBUTTON "OK",IDB_OK,76,7,50,15
PUSHBUTTON "Cancel",IDB_CANCEL,76,26,50,15
END
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
2 TEXTINCLUDE DISCARDABLE
BEGIN
"#define APSTUDIO_HIDDEN_SYMBOLS\r\n"
"#include ""windows.h""\r\n"
"#undef APSTUDIO_HIDDEN_SYMBOLS\r\n"
"#include ""resource.h""\r\n"
"\0"
END
3 TEXTINCLUDE DISCARDABLE
BEGIN
"#define VER_FILEDESCRIPTION_STR ""SAPI5 Grammar Compiler""\r\n"
"#define VER_ORIGINALFILENAME_STR ""gramcomp.exe""\r\n"
"#define VER_INTERNALNAME_STR ""GramComp""\r\n"
"#include ""..\\\\..\\\\..\\\\common\\\\include\\\\sapiver.h""\r\n"
"\r\n"
"\r\n"
"\0"
END
1 TEXTINCLUDE DISCARDABLE
BEGIN
"resource.h\0"
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO DISCARDABLE
BEGIN
IDD_DIALOG_COMPILE, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 425
TOPMARGIN, 6
BOTTOMMARGIN, 143
END
IDD_FIND, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 228
TOPMARGIN, 7
BOTTOMMARGIN, 56
END
IDD_TESTGRAMMAR, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 288
VERTGUIDE, 30
TOPMARGIN, 7
BOTTOMMARGIN, 344
END
IDD_GOTO, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 126
TOPMARGIN, 7
BOTTOMMARGIN, 42
END
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Accelerator
//
IDR_GRAMACCEL ACCELERATORS DISCARDABLE
BEGIN
"/", IDM_ABOUT, ASCII, ALT, NOINVERT
"?", IDM_ABOUT, ASCII, ALT, NOINVERT
"A", IDM_EDIT_SELECTALL, VIRTKEY, CONTROL, NOINVERT
"C", IDM_EDIT_COPY, VIRTKEY, CONTROL, NOINVERT
"F", IDM_EDIT_FIND, VIRTKEY, CONTROL, NOINVERT
"G", IDM_EDIT_GOTO, VIRTKEY, CONTROL, NOINVERT
"N", IDM_FILE_NEW, VIRTKEY, CONTROL, NOINVERT
"O", IDM_FILE_OPEN, VIRTKEY, CONTROL, NOINVERT
"S", IDM_FILE_SAVE, VIRTKEY, CONTROL, NOINVERT
"V", IDM_EDIT_PASTE, VIRTKEY, CONTROL, NOINVERT
VK_DELETE, IDM_EDIT_DELETE, VIRTKEY, NOINVERT
VK_F10, IDM_TESTGRAMMAR, VIRTKEY, NOINVERT
VK_F7, IDM_BUILD_COMPILE, VIRTKEY, NOINVERT
"X", IDM_EDIT_CUT, VIRTKEY, CONTROL, NOINVERT
"Y", IDM_EDIT_REDO, VIRTKEY, CONTROL, NOINVERT
"Z", IDM_EDIT_UNDO, VIRTKEY, CONTROL, NOINVERT
END
/////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE DISCARDABLE
BEGIN
IDS_APP_TITLE "Grammar Compiler"
IDC_GRAMCOMP "GRAMCOMP"
IDS_CANTOPENSOURCE "Can not open source file %s. Possible incorrect arguments or path."
IDS_CANTOPENDEST "Can not open destination file %s. Possible incorrect arguments or path."
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_COMPILESUCCESS "Compile successful"
IDS_COMPFILE "Compiling %s"
IDS_COMPILEFAILURE "Compilation failed"
END
#endif // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
#define VER_FILEDESCRIPTION_STR "SAPI5 Grammar Compiler"
#define VER_ORIGINALFILENAME_STR "gramcomp.exe"
#define VER_INTERNALNAME_STR "GramComp"
#include "..\\..\\..\\common\\include\\sapiver.h"
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED