windows-nt/Source/XPSP1/NT/drivers/wdm/input/tabletpc/tracer/tracer.rc

350 lines
12 KiB
Plaintext
Raw Normal View History

2020-09-26 03:20:57 -05:00
/*++
Copyright (c) 1998-2000 Microsoft Corporation
Module Name:
tracer.rc
Abstract:
This module contains the resources of the tracer program.
Author:
Michael Tsang (MikeTs) 02-May-2000
Environment:
User mode
Revision History:
--*/
#include "windows.h"
#include "resid.h"
#define VER_FILETYPE VFT_APP
#define VER_FILESUBTYPE VFT_UNKNOWN
#define VER_FILEDESCRIPTION_STR "Tracer"
#define VER_INTERNALNAME_STR "Tracer"
#define VER_ORIGINALFILENAME_STR "tracer.exe"
IDI_TRACER ICON PRELOAD DISCARDABLE tracer.ico
IDD_MENU MENU PRELOAD DISCARDABLE
BEGIN
POPUP "&File"
BEGIN
MENUITEM "&Save\tCtrl+S", M_SAVE
MENUITEM "Save &As...", M_SAVEAS
MENUITEM SEPARATOR
MENUITEM "&Print...\tCtrl+P", M_PRINT
MENUITEM SEPARATOR
MENUITEM "E&xit", M_EXIT
END
POPUP "&Edit"
BEGIN
MENUITEM "&Clear", M_CLEAR
MENUITEM SEPARATOR
MENUITEM "&Find...\tCtrl+F", M_FIND
MENUITEM "Find &Next\tF3", M_FINDNEXT
MENUITEM "&Go To...\tCtrl+H", M_GOTO
END
POPUP "&Settings"
BEGIN
MENUITEM "&Word Wrap", M_WORDWRAP
MENUITEM "&Font...", M_SETFONT
MENUITEM "&Clients...", M_CLIENTS
END
POPUP "&Help"
BEGIN
MENUITEM "&Help Topics", M_HELP
MENUITEM SEPARATOR
MENUITEM "&About...", M_ABOUT
END
END
IDD_GLOBALSETTINGS DIALOG DISCARDABLE 0, 0, 270, 220
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Global Settings"
FONT 8, "MS Shell Dlg"
BEGIN
EDITTEXT IDC_GLOBALTRACE,10,10,30,12,ES_NUMBER
CONTROL "",IDC_GLOBALTRACESPIN,"msctls_updown32",
UDS_AUTOBUDDY|UDS_ARROWKEYS|UDS_ALIGNRIGHT|UDS_SETBUDDYINT,
20,10,10,12
LTEXT "Default Client &Trace Level",IDC_GLOBALTRACETEXT,45,12,90,8
EDITTEXT IDC_GLOBALVERBOSE,140,10,30,12,ES_NUMBER
CONTROL "",IDC_GLOBALVERBOSESPIN,"msctls_updown32",
UDS_AUTOBUDDY|UDS_ARROWKEYS|UDS_ALIGNRIGHT|UDS_SETBUDDYINT,
150,10,10,12
LTEXT "Default Client &Verbose Level",IDC_GLOBALVERBOSETEXT,
175,12,90,8
CONTROL "Default Client Trace to &Debugger",IDC_GLOBALTRACEDEBUGGER,
"Button",BS_AUTOCHECKBOX|WS_TABSTOP,10,30,120,10
END
IDD_CLIENTSETTINGS DIALOG DISCARDABLE 0, 0, 270, 220
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Client Settings"
FONT 8, "MS Shell Dlg"
BEGIN
EDITTEXT IDC_CLIENTTRACE,10,10,30,12,ES_NUMBER
CONTROL "",IDC_CLIENTTRACESPIN,"msctls_updown32",
UDS_AUTOBUDDY|UDS_ARROWKEYS|UDS_ALIGNRIGHT|UDS_SETBUDDYINT,
20,10,10,12
LTEXT "Client &Trace Level",IDC_CLIENTTRACETEXT,45,12,80,8
EDITTEXT IDC_CLIENTVERBOSE,140,10,30,12,ES_NUMBER
CONTROL "",IDC_CLIENTVERBOSESPIN,"msctls_updown32",
UDS_AUTOBUDDY|UDS_ARROWKEYS|UDS_ALIGNRIGHT|UDS_SETBUDDYINT,
150,10,10,12
LTEXT "Client &Verbose Level",IDC_CLIENTVERBOSETEXT,175,12,80,8
CONTROL "Client Trace to &Debugger",IDC_CLIENTTRACEDEBUGGER,
"Button",BS_AUTOCHECKBOX|WS_TABSTOP,10,30,120,10
CONTROL "Client Trigger Mode &Enabled",IDC_CLIENTTRIGGERTRACE,
"Button",BS_AUTOCHECKBOX|WS_TABSTOP,10,45,120,10
GROUPBOX "Client Trigger &Points",IDC_CLIENTTRIGPTGROUPBOX,
10,60,250,140
LTEXT "Point 1",IDC_TRIGPT1_TEXT,15,70,30,8
LTEXT "Trace",IDC_TRIGPT1_TRACE_TEXT,90,70,20,8
LTEXT "Break",IDC_TRIGPT1_BREAK_TEXT,110,70,20,8
EDITTEXT IDC_TRIGPT1,15,80,75,10,ES_AUTOHSCROLL
CONTROL "",IDC_TRIGPT1_TRACE,"Button",BS_AUTOCHECKBOX|WS_TABSTOP,
95,80,10,10
CONTROL "",IDC_TRIGPT1_BREAK,"Button",BS_AUTOCHECKBOX|WS_TABSTOP,
115,80,10,10
LTEXT "Point 6",IDC_TRIGPT6_TEXT,140,70,30,8
LTEXT "Trace",IDC_TRIGPT6_TRACE_TEXT,215,70,20,8
LTEXT "Break",IDC_TRIGPT6_BREAK_TEXT,235,70,20,8
EDITTEXT IDC_TRIGPT6,140,80,75,10,ES_AUTOHSCROLL
CONTROL "",IDC_TRIGPT6_TRACE,"Button",BS_AUTOCHECKBOX|WS_TABSTOP,
220,80,10,10
CONTROL "",IDC_TRIGPT6_BREAK,"Button",BS_AUTOCHECKBOX|WS_TABSTOP,
240,80,10,10
LTEXT "Point 2",IDC_TRIGPT2_TEXT,15,95,30,8
LTEXT "Trace",IDC_TRIGPT2_TRACE_TEXT,90,95,20,8
LTEXT "Break",IDC_TRIGPT2_BREAK_TEXT,110,95,20,8
EDITTEXT IDC_TRIGPT2,15,105,75,10,ES_AUTOHSCROLL
CONTROL "",IDC_TRIGPT2_TRACE,"Button",BS_AUTOCHECKBOX|WS_TABSTOP,
95,105,10,10
CONTROL "",IDC_TRIGPT2_BREAK,"Button",BS_AUTOCHECKBOX|WS_TABSTOP,
115,105,10,10
LTEXT "Point 7",IDC_TRIGPT7_TEXT,140,95,30,8
LTEXT "Trace",IDC_TRIGPT7_TRACE_TEXT,215,95,20,8
LTEXT "Break",IDC_TRIGPT7_BREAK_TEXT,235,95,20,8
EDITTEXT IDC_TRIGPT7,140,105,75,10,ES_AUTOHSCROLL
CONTROL "",IDC_TRIGPT7_TRACE,"Button",BS_AUTOCHECKBOX|WS_TABSTOP,
220,105,10,10
CONTROL "",IDC_TRIGPT7_BREAK,"Button",BS_AUTOCHECKBOX|WS_TABSTOP,
240,105,10,10
LTEXT "Point 3",IDC_TRIGPT3_TEXT,15,120,30,8
LTEXT "Trace",IDC_TRIGPT3_TRACE_TEXT,90,120,20,8
LTEXT "Break",IDC_TRIGPT3_BREAK_TEXT,110,120,20,8
EDITTEXT IDC_TRIGPT3,15,130,75,10,ES_AUTOHSCROLL
CONTROL "",IDC_TRIGPT3_TRACE,"Button",BS_AUTOCHECKBOX|WS_TABSTOP,
95,130,10,10
CONTROL "",IDC_TRIGPT3_BREAK,"Button",BS_AUTOCHECKBOX|WS_TABSTOP,
115,130,10,10
LTEXT "Point 8",IDC_TRIGPT8_TEXT,140,120,30,8
LTEXT "Trace",IDC_TRIGPT8_TRACE_TEXT,215,120,20,8
LTEXT "Break",IDC_TRIGPT8_BREAK_TEXT,235,120,20,8
EDITTEXT IDC_TRIGPT8,140,130,75,10,ES_AUTOHSCROLL
CONTROL "",IDC_TRIGPT8_TRACE,"Button",BS_AUTOCHECKBOX|WS_TABSTOP,
220,130,10,10
CONTROL "",IDC_TRIGPT8_BREAK,"Button",BS_AUTOCHECKBOX|WS_TABSTOP,
240,130,10,10
LTEXT "Point 4",IDC_TRIGPT4_TEXT,15,145,30,8
LTEXT "Trace",IDC_TRIGPT4_TRACE_TEXT,90,145,20,8
LTEXT "Break",IDC_TRIGPT4_BREAK_TEXT,110,145,20,8
EDITTEXT IDC_TRIGPT4,15,155,75,10,ES_AUTOHSCROLL
CONTROL "",IDC_TRIGPT4_TRACE,"Button",BS_AUTOCHECKBOX|WS_TABSTOP,
95,155,10,10
CONTROL "",IDC_TRIGPT4_BREAK,"Button",BS_AUTOCHECKBOX|WS_TABSTOP,
115,155,10,10
LTEXT "Point 9",IDC_TRIGPT9_TEXT,140,145,30,8
LTEXT "Trace",IDC_TRIGPT9_TRACE_TEXT,215,145,20,8
LTEXT "Break",IDC_TRIGPT9_BREAK_TEXT,235,145,20,8
EDITTEXT IDC_TRIGPT9,140,155,75,10,ES_AUTOHSCROLL
CONTROL "",IDC_TRIGPT9_TRACE,"Button",BS_AUTOCHECKBOX|WS_TABSTOP,
220,155,10,10
CONTROL "",IDC_TRIGPT9_BREAK,"Button",BS_AUTOCHECKBOX|WS_TABSTOP,
240,155,10,10
LTEXT "Point 5",IDC_TRIGPT5_TEXT,15,170,30,8
LTEXT "Trace",IDC_TRIGPT5_TRACE_TEXT,90,170,20,8
LTEXT "Break",IDC_TRIGPT5_BREAK_TEXT,110,170,20,8
EDITTEXT IDC_TRIGPT5,15,180,75,10,ES_AUTOHSCROLL
CONTROL "",IDC_TRIGPT5_TRACE,"Button",BS_AUTOCHECKBOX|WS_TABSTOP,
95,180,10,10
CONTROL "",IDC_TRIGPT5_BREAK,"Button",BS_AUTOCHECKBOX|WS_TABSTOP,
115,180,10,10
LTEXT "Point 10",IDC_TRIGPT10_TEXT,140,170,30,8
LTEXT "Trace",IDC_TRIGPT10_TRACE_TEXT,215,170,20,8
LTEXT "Break",IDC_TRIGPT10_BREAK_TEXT,235,170,20,8
EDITTEXT IDC_TRIGPT10,140,180,75,10,ES_AUTOHSCROLL
CONTROL "",IDC_TRIGPT10_TRACE,"Button",BS_AUTOCHECKBOX|WS_TABSTOP,
220,180,10,10
CONTROL "",IDC_TRIGPT10_BREAK,"Button",BS_AUTOCHECKBOX|WS_TABSTOP,
240,180,10,10
END
STRINGTABLE PRELOAD DISCARDABLE
BEGIN
IDS_APP "Tracer"
IDS_TITLE " - Tracer"
IDS_UNTITLED "Untitled"
IDS_SAVEAS "Save As"
IDS_TEXTFILES "Text Documents (*.txt)"
IDS_ALLFILES "All Files (*.*)"
IDS_CLIENT_SETTINGS "Client Settings"
IDS_ERRSPACE "Memory full"
IDS_GETSAVEFILENAME_FAILED "Failed to get save file name (err=%x)"
IDS_CREATEFILE_FAILED "Failed to create file %s"
IDS_WRITEFILE_FAILED "Failed to write file %s"
IDS_CHOOSEFONT_FAILED "Failed to choose font (err=%x)"
IDSERR_PROP_SHEET "Failed to bring up client settings (err=%x)"
END
#if 0
#define GRP WS_GROUP
#define TAB WS_TABSTOP
#define TABGRP WS_TABSTOP | WS_GROUP
#define DLGMODAL WS_POPUP | WS_DLGFRAME
/* Version Stamping */
#include "notepad.rcv"
ID_APPICON ICON PRELOAD DISCARDABLE npapp.ico
ID_ICON ICON PRELOAD DISCARDABLE notepad.ico
ID_MENUBAR MENU PRELOAD DISCARDABLE
BEGIN
POPUP "&File"
BEGIN
MENUITEM "&New\tCtrl+N", M_NEW
MENUITEM "&Open...\tCtrl+O", M_OPEN
MENUITEM "&Save\tCtrl+S", M_SAVE
MENUITEM "Save &As...", M_SAVEAS
MENUITEM SEPARATOR
MENUITEM "Page Set&up...", M_PAGESETUP
MENUITEM "&Print...\tCtrl+P", M_PRINT
MENUITEM SEPARATOR
MENUITEM "E&xit", M_EXIT
END
POPUP "&Edit"
BEGIN
MENUITEM "&Undo\tCtrl+Z", M_UNDO
MENUITEM SEPARATOR
MENUITEM "Cu&t\tCtrl+X", M_CUT , GRAYED
MENUITEM "&Copy\tCtrl+C", M_COPY, GRAYED
MENUITEM "&Paste\tCtrl+V", M_PASTE, GRAYED
MENUITEM "De&lete\tDel", M_CLEAR, GRAYED
MENUITEM SEPARATOR
MENUITEM "&Find...\tCtrl+F", M_FIND
MENUITEM "Find &Next\tF3", M_FINDNEXT
MENUITEM "&Replace...\tCtrl+H", M_REPLACE
/*
The hotkey used for replace is CTRL-H in most of the editors, and hence though
this key may conflict with backspace key in IMEs, this key is used here to be compatible
with all the editors. Please contact ChrisW/RajeshM for more details.
*/
MENUITEM "&Go To...\tCtrl+G", M_GOTO
MENUITEM SEPARATOR
MENUITEM "Select &All\tCtrl+A", M_SELECTALL
MENUITEM "Time/&Date\tF5", M_DATETIME
END
POPUP "F&ormat"
BEGIN
MENUITEM "&Word Wrap" M_WW
MENUITEM "&Font...", M_SETFONT
END
POPUP "&Help"
BEGIN
MENUITEM "&Help Topics", M_HELP
MENUITEM SEPARATOR
MENUITEM "&About Notepad",M_ABOUT
END
END
MainAcc ACCELERATORS PRELOAD DISCARDABLE
BEGIN
"^N", M_NEW
"^O", M_OPEN
"^S", M_SAVE
"^P", M_PRINT
VK_INSERT, M_COPY, VIRTKEY, CONTROL
VK_F1, M_HELP, VIRTKEY
VK_F3, M_FINDNEXT, VIRTKEY
VK_F5, M_DATETIME, VIRTKEY
"^G", M_GOTO
"F", M_FIND , VIRTKEY, CONTROL, NOINVERT
"H", M_REPLACE, VIRTKEY, CONTROL, NOINVERT
VK_BACK, M_UNDO, VIRTKEY, ALT
"^Z", M_UNDO
"^X", M_CUT
"^C", M_COPY
"^V", M_PASTE
"^A", M_SELECTALL
END
/* Allow exit using ^C, ^D or ^Z during Setup */
SlipUpAcc ACCELERATORS PRELOAD DISCARDABLE
BEGIN
"^N", M_NEW
"^O", M_OPEN
"^S", M_SAVE
"^P", M_PRINT
VK_INSERT, M_COPY, VIRTKEY, CONTROL
VK_F1, M_HELP, VIRTKEY
VK_F3, M_FINDNEXT, VIRTKEY
VK_F5, M_DATETIME, VIRTKEY
"^G", M_GOTO
"F", M_FIND, VIRTKEY, CONTROL, NOINVERT
"H", M_REPLACE, VIRTKEY, CONTROL, NOINVERT
VK_BACK, M_UNDO, VIRTKEY, ALT
"^Z", M_UNDO
"^X", M_CUT
"^C", M_COPY
"^V", M_PASTE
"^A", M_SELECTALL
VK_ESCAPE, M_EXIT, VIRTKEY
0x43, M_EXIT, VIRTKEY, CONTROL
0x44, M_EXIT, VIRTKEY, CONTROL
0x5A, M_EXIT, VIRTKEY, CONTROL
END
STRINGTABLE PRELOAD DISCARDABLE
BEGIN
IDS_MERGE1 "%%"
END
/* Include other dialogs. */
rcinclude notepad.dlg
#endif
#include <ntverp.h>
#include "common.ver"