106 lines
2.5 KiB
Plaintext
106 lines
2.5 KiB
Plaintext
/*--
|
|
|
|
Copyright (c) 1990 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
generic.rc
|
|
|
|
Abstract:
|
|
|
|
generic resource file
|
|
|
|
Author:
|
|
|
|
Mark Enstrom (marke) 30-Dec-1992
|
|
|
|
Revision History:
|
|
|
|
Dan Almosnino (danalm) 20-Sep-1995
|
|
|
|
1. Added "Run Text-Suite" option to Run Menu
|
|
2. Added "Options" to main menu bar with drop-down to choose text string length
|
|
as well as font.
|
|
3. Added units of time measurements to caption of the results window
|
|
|
|
Dan Almosnino (danalm) 17-Oct-1995
|
|
|
|
1. Added "Transparent Background" option to text menu options
|
|
|
|
--*/
|
|
|
|
#include "precomp.h"
|
|
#include "resource.h"
|
|
|
|
//
|
|
// Draw Menu
|
|
//
|
|
|
|
IDR_GDIBENCH_MENU MENU
|
|
{
|
|
POPUP "&File"
|
|
BEGIN
|
|
MENUITEM "&Show Results",IDM_SHOW
|
|
MENUITEM "E&xit",IDM_EXIT
|
|
END
|
|
|
|
POPUP "&Run"
|
|
BEGIN
|
|
MENUITEM "Run All",IDM_RUN
|
|
MENUITEM "Run Quick",IDM_QRUN
|
|
MENUITEM "Run Text Suite",IDM_TEXT_QRUN
|
|
END
|
|
|
|
POPUP "&Options"
|
|
BEGIN
|
|
POPUP "&Text String"
|
|
BEGIN
|
|
POPUP "&String Length"
|
|
{
|
|
MENUITEM "&\t1",IDM_S001
|
|
MENUITEM "&\t2",IDM_S002
|
|
MENUITEM "&\t4",IDM_S004
|
|
MENUITEM "&\t8",IDM_S008
|
|
MENUITEM "&\t16",IDM_S016
|
|
MENUITEM "&\t32",IDM_S032
|
|
MENUITEM "&\t64",IDM_S064
|
|
MENUITEM "&\t128",IDM_S128
|
|
MENUITEM "&\t256",IDM_S256
|
|
MENUITEM "&\tOther",IDM_SXXX,GRAYED
|
|
}
|
|
MENUITEM "&Font and Color",IDM_FONT
|
|
MENUITEM "&Transparent Background",IDM_TRANSPARENT
|
|
END
|
|
END
|
|
|
|
POPUP "&Help"
|
|
BEGIN
|
|
MENUITEM "Display Help",IDM_HELP
|
|
END
|
|
|
|
}
|
|
|
|
IDD_RESULTS DIALOG 48, 24, 490, 163
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "GDIBENCH Results for Interactive Mode Run"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
DEFPUSHBUTTON "&OK", IDOK, 196, 142, 40, 14
|
|
PUSHBUTTON "&Save...", IDM_SAVERESULTS, 252, 142, 40, 14
|
|
CONTROL "List1",IDC_RESULTSLIST,"SysListView32",LVS_REPORT |
|
|
LVS_SINGLESEL | WS_BORDER | WS_TABSTOP,1,0,489,135
|
|
END
|
|
|
|
/*
|
|
*/
|
|
IDD_HELP DIALOG 48, 24, 442, 162
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "GDIBENCH HELP DIALOG"
|
|
FONT 10, "MS Shell Dlg"
|
|
BEGIN
|
|
LISTBOX IDC_HELPLIST, 3, 3, 436, 133, LBS_USETABSTOPS |
|
|
WS_VSCROLL | WS_HSCROLL | WS_TABSTOP
|
|
DEFPUSHBUTTON "&OK", IDOK, 73, 142, 40, 14
|
|
END
|
|
|