273 lines
7.6 KiB
Plaintext
273 lines
7.6 KiB
Plaintext
|
//Microsoft Developer Studio generated resource script.
|
|||
|
//
|
|||
|
#include "resource.h"
|
|||
|
|
|||
|
#define APSTUDIO_READONLY_SYMBOLS
|
|||
|
/////////////////////////////////////////////////////////////////////////////
|
|||
|
//
|
|||
|
// Generated from the TEXTINCLUDE 2 resource.
|
|||
|
//
|
|||
|
#include "atlres.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
|
|||
|
|
|||
|
#ifdef APSTUDIO_INVOKED
|
|||
|
/////////////////////////////////////////////////////////////////////////////
|
|||
|
//
|
|||
|
// TEXTINCLUDE
|
|||
|
//
|
|||
|
|
|||
|
1 TEXTINCLUDE DISCARDABLE
|
|||
|
BEGIN
|
|||
|
"resource.h\0"
|
|||
|
END
|
|||
|
|
|||
|
2 TEXTINCLUDE DISCARDABLE
|
|||
|
BEGIN
|
|||
|
"#include ""atlres.h""\r\n"
|
|||
|
"\0"
|
|||
|
END
|
|||
|
|
|||
|
3 TEXTINCLUDE DISCARDABLE
|
|||
|
BEGIN
|
|||
|
"\r\n"
|
|||
|
"\0"
|
|||
|
END
|
|||
|
|
|||
|
#endif // APSTUDIO_INVOKED
|
|||
|
|
|||
|
|
|||
|
/////////////////////////////////////////////////////////////////////////////
|
|||
|
//
|
|||
|
// Menu
|
|||
|
//
|
|||
|
|
|||
|
IDR_MAINFRAME MENU PRELOAD DISCARDABLE
|
|||
|
BEGIN
|
|||
|
POPUP "&File"
|
|||
|
BEGIN
|
|||
|
MENUITEM "Run Suite &1-pass", IDM_SUITE1
|
|||
|
MENUITEM "Run Suite &2-pass", IDM_SUITE2
|
|||
|
POPUP "Run sin&gle test"
|
|||
|
BEGIN
|
|||
|
MENUITEM "Frame Window", IDM_FRAME
|
|||
|
END
|
|||
|
MENUITEM SEPARATOR
|
|||
|
MENUITEM "E&xit", ID_APP_EXIT
|
|||
|
END
|
|||
|
POPUP "&View"
|
|||
|
BEGIN
|
|||
|
MENUITEM "&Status Bar", ID_VIEW_STATUS_BAR
|
|||
|
END
|
|||
|
POPUP "&Help"
|
|||
|
BEGIN
|
|||
|
MENUITEM "&About CtlPerf...", ID_APP_ABOUT
|
|||
|
END
|
|||
|
END
|
|||
|
|
|||
|
|
|||
|
/////////////////////////////////////////////////////////////////////////////
|
|||
|
//
|
|||
|
// Icon
|
|||
|
//
|
|||
|
|
|||
|
// Icon with lowest ID value placed first to ensure application icon
|
|||
|
// remains consistent on all systems.
|
|||
|
IDR_MAINFRAME ICON DISCARDABLE "res\\CtlPerf.ico"
|
|||
|
|
|||
|
/////////////////////////////////////////////////////////////////////////////
|
|||
|
//
|
|||
|
// Dialog
|
|||
|
//
|
|||
|
|
|||
|
IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 310, 124
|
|||
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|||
|
CAPTION "About"
|
|||
|
FONT 8, "MS Shell Dlg"
|
|||
|
BEGIN
|
|||
|
DEFPUSHBUTTON "OK",IDOK,253,103,50,14
|
|||
|
CTEXT "CtlTest Application v1.0\n<> 2000 Microsoft Corporation",
|
|||
|
IDC_STATIC,7,14,234,17
|
|||
|
ICON IDR_MAINFRAME,IDC_STATIC,269,13,21,20
|
|||
|
GROUPBOX "",IDC_STATIC,7,7,235,110
|
|||
|
LTEXT "Usage:\tCtlTest [/1Pass] [/2Pass] [/S] [/Lfilename.ext]\n\n/1Pass:\tRuns one pass as described in CtlPerf.ini, and exits.\n",
|
|||
|
IDC_STATIC,13,34,226,24
|
|||
|
LTEXT "/2Pass:\tRuns pass 1 as described in CtlPerf.ini, displays a message box, runs pass 2 and exits.\n",
|
|||
|
IDC_STATIC,13,60,223,18
|
|||
|
LTEXT "/S:\tUsed with /2Pass, runs the two passes without pause (two identical runs)",
|
|||
|
IDC_STATIC,13,78,222,18
|
|||
|
LTEXT "/Lfilename.ext:\tOverride the log file name, when used with /1Pass or /2Pass",
|
|||
|
IDC_STATIC,13,96,226,15
|
|||
|
END
|
|||
|
|
|||
|
IDD_OPTIONS DIALOG DISCARDABLE 0, 0, 170, 174
|
|||
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|||
|
CAPTION "Suite Options"
|
|||
|
FONT 8, "MS Shell Dlg"
|
|||
|
BEGIN
|
|||
|
DEFPUSHBUTTON "OK",IDOK,24,153,50,14
|
|||
|
PUSHBUTTON "Cancel",IDCANCEL,96,153,50,14
|
|||
|
LTEXT "Name of Pass &1:",IDC_STATIC,7,7,53,8
|
|||
|
EDITTEXT IDC_EDIT_PASS1,7,17,156,12,ES_AUTOHSCROLL
|
|||
|
LTEXT "Name of Pass &2:",IDC_STATIC,7,33,53,8
|
|||
|
EDITTEXT IDC_EDIT_PASS2,7,43,156,12,ES_AUTOHSCROLL
|
|||
|
LTEXT "Name of Log &File:",IDC_STATIC,7,58,56,8
|
|||
|
EDITTEXT IDC_EDIT_LOGFILE,7,68,156,12,ES_AUTOHSCROLL
|
|||
|
LTEXT "Number of &Loops",IDC_STATIC,7,86,55,8
|
|||
|
EDITTEXT IDC_EDIT_NUMLOOPS,67,84,35,12,ES_AUTOHSCROLL
|
|||
|
GROUPBOX "Number of controls",IDC_STATIC,7,99,71,49
|
|||
|
LTEXT "&X:",IDC_STATIC,14,115,8,8
|
|||
|
EDITTEXT IDC_EDIT_CTLX,27,112,39,13,ES_AUTOHSCROLL
|
|||
|
LTEXT "&Y:",IDC_STATIC,14,134,8,8
|
|||
|
EDITTEXT IDC_EDIT_CTLY,27,131,39,13,ES_AUTOHSCROLL
|
|||
|
GROUPBOX "Window size",IDC_STATIC,91,99,71,49
|
|||
|
LTEXT "&X:",IDC_STATIC,98,115,8,8
|
|||
|
EDITTEXT IDC_EDIT_CX,111,113,39,13,ES_AUTOHSCROLL
|
|||
|
LTEXT "Y:",IDC_STATIC,98,134,8,8
|
|||
|
EDITTEXT IDC_EDIT_CY,111,132,39,13,ES_AUTOHSCROLL
|
|||
|
END
|
|||
|
|
|||
|
|
|||
|
/////////////////////////////////////////////////////////////////////////////
|
|||
|
//
|
|||
|
// DESIGNINFO
|
|||
|
//
|
|||
|
|
|||
|
#ifdef APSTUDIO_INVOKED
|
|||
|
GUIDELINES DESIGNINFO DISCARDABLE
|
|||
|
BEGIN
|
|||
|
IDD_ABOUTBOX, DIALOG
|
|||
|
BEGIN
|
|||
|
LEFTMARGIN, 7
|
|||
|
RIGHTMARGIN, 303
|
|||
|
TOPMARGIN, 7
|
|||
|
BOTTOMMARGIN, 117
|
|||
|
END
|
|||
|
|
|||
|
IDD_OPTIONS, DIALOG
|
|||
|
BEGIN
|
|||
|
LEFTMARGIN, 7
|
|||
|
RIGHTMARGIN, 163
|
|||
|
TOPMARGIN, 7
|
|||
|
BOTTOMMARGIN, 167
|
|||
|
END
|
|||
|
END
|
|||
|
#endif // APSTUDIO_INVOKED
|
|||
|
|
|||
|
|
|||
|
#ifndef _MAC
|
|||
|
/////////////////////////////////////////////////////////////////////////////
|
|||
|
//
|
|||
|
// Version
|
|||
|
//
|
|||
|
|
|||
|
VS_VERSION_INFO VERSIONINFO
|
|||
|
FILEVERSION 1,0,0,1
|
|||
|
PRODUCTVERSION 1,0,0,1
|
|||
|
FILEFLAGSMASK 0x3fL
|
|||
|
#ifdef _DEBUG
|
|||
|
FILEFLAGS 0x1L
|
|||
|
#else
|
|||
|
FILEFLAGS 0x0L
|
|||
|
#endif
|
|||
|
FILEOS 0x4L
|
|||
|
FILETYPE 0x2L
|
|||
|
FILESUBTYPE 0x0L
|
|||
|
BEGIN
|
|||
|
BLOCK "StringFileInfo"
|
|||
|
BEGIN
|
|||
|
BLOCK "040904b0"
|
|||
|
BEGIN
|
|||
|
VALUE "Comments", "\0"
|
|||
|
VALUE "CompanyName", "Microsoft Corporation\0"
|
|||
|
VALUE "FileDescription", "Common Controls Performance Test\0"
|
|||
|
VALUE "FileVersion", "1, 0, 0, 1\0"
|
|||
|
VALUE "InternalName", "CtlPerf\0"
|
|||
|
VALUE "LegalCopyright", "Copyright <20> 2000\0"
|
|||
|
VALUE "LegalTrademarks", "\0"
|
|||
|
VALUE "OriginalFilename", "CtlPerf.exe\0"
|
|||
|
VALUE "ProductName", "CtlPerf Module\0"
|
|||
|
VALUE "ProductVersion", "1, 0, 0, 1\0"
|
|||
|
END
|
|||
|
END
|
|||
|
BLOCK "VarFileInfo"
|
|||
|
BEGIN
|
|||
|
VALUE "Translation", 0x409, 1200
|
|||
|
END
|
|||
|
END
|
|||
|
|
|||
|
#endif // !_MAC
|
|||
|
|
|||
|
|
|||
|
/////////////////////////////////////////////////////////////////////////////
|
|||
|
//
|
|||
|
// String Table
|
|||
|
//
|
|||
|
|
|||
|
STRINGTABLE PRELOAD DISCARDABLE
|
|||
|
BEGIN
|
|||
|
IDR_MAINFRAME "Common Controls Performance Test"
|
|||
|
END
|
|||
|
|
|||
|
STRINGTABLE DISCARDABLE
|
|||
|
BEGIN
|
|||
|
IDM_SUITE1 "Tests all control classes in a single pass"
|
|||
|
IDM_SUITE2 "Tests all control classes in two passes, allowing to compare the results"
|
|||
|
IDM_FRAME "Test the frame window only"
|
|||
|
ID_APP_ABOUT "Display program information, version number and copyright\nAbout"
|
|||
|
ID_APP_EXIT "Quit the application; prompts to save documents\nExit"
|
|||
|
END
|
|||
|
|
|||
|
STRINGTABLE DISCARDABLE
|
|||
|
BEGIN
|
|||
|
ID_VIEW_STATUS_BAR "Show or hide the status bar\nToggle StatusBar"
|
|||
|
END
|
|||
|
|
|||
|
STRINGTABLE DISCARDABLE
|
|||
|
BEGIN
|
|||
|
ATL_IDS_SCSIZE "Change the window size"
|
|||
|
ATL_IDS_SCMOVE "Change the window position"
|
|||
|
ATL_IDS_SCMINIMIZE "Reduce the window to an icon"
|
|||
|
ATL_IDS_SCMAXIMIZE "Enlarge the window to full size"
|
|||
|
ATL_IDS_SCNEXTWINDOW "Switch to the next document window"
|
|||
|
ATL_IDS_SCPREVWINDOW "Switch to the previous document window"
|
|||
|
ATL_IDS_SCCLOSE "Close the active window and prompts to save the documents"
|
|||
|
END
|
|||
|
|
|||
|
STRINGTABLE DISCARDABLE
|
|||
|
BEGIN
|
|||
|
ATL_IDS_SCRESTORE "Restore the window to normal size"
|
|||
|
ATL_IDS_SCTASKLIST "Activate Task List"
|
|||
|
END
|
|||
|
|
|||
|
STRINGTABLE DISCARDABLE
|
|||
|
BEGIN
|
|||
|
ATL_IDS_IDLEMESSAGE "Ready"
|
|||
|
END
|
|||
|
|
|||
|
#endif // English (U.S.) resources
|
|||
|
/////////////////////////////////////////////////////////////////////////////
|
|||
|
|
|||
|
|
|||
|
|
|||
|
#ifndef APSTUDIO_INVOKED
|
|||
|
/////////////////////////////////////////////////////////////////////////////
|
|||
|
//
|
|||
|
// Generated from the TEXTINCLUDE 3 resource.
|
|||
|
//
|
|||
|
|
|||
|
|
|||
|
/////////////////////////////////////////////////////////////////////////////
|
|||
|
#endif // not APSTUDIO_INVOKED
|
|||
|
|