embedding/browser/activex/tests/cbrowse/cbrowse.rc
author Ted Mielczarek <ted.mielczarek@gmail.com>
Wed, 11 Nov 2009 13:27:09 -0500
changeset 34774 5477d3d7ee7ba48296d51960f8858ef4fc708689
parent 1 9b2a99adc05e53cd4010de512f50118594756650
permissions -rw-r--r--
back out accidental changes (on a CLOSED TREE, no less)

//Microsoft Developer Studio generated resource script.
//
#include "resource.h"

#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "afxres.h"

/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS

/////////////////////////////////////////////////////////////////////////////
// Neutral resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_NEU)
#ifdef _WIN32
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
#pragma code_page(1252)
#endif //_WIN32

/////////////////////////////////////////////////////////////////////////////
//
// Icon
//

// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_CLOSEDFOLDER        ICON    DISCARDABLE     "res\\closedfolder.ico"
IDI_OPENFOLDER          ICON    DISCARDABLE     "res\\openfolder.ico"
IDI_TESTPASSED          ICON    DISCARDABLE     "res\\testpassed.ico"
IDI_TESTFAILED          ICON    DISCARDABLE     "res\\testfailed.ico"
IDI_TESTPARTIAL         ICON    DISCARDABLE     "res\\testpartial.ico"
#endif    // Neutral resources
/////////////////////////////////////////////////////////////////////////////


/////////////////////////////////////////////////////////////////////////////
// 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.
IDR_MAINFRAME           ICON    DISCARDABLE     "res\\cbrowse.ico"

#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//

1 TEXTINCLUDE DISCARDABLE 
BEGIN
    "resource.h\0"
END

2 TEXTINCLUDE DISCARDABLE 
BEGIN
    "#include ""afxres.h""\r\n"
    "\0"
END

3 TEXTINCLUDE DISCARDABLE 
BEGIN
    "#define _AFX_NO_SPLITTER_RESOURCES\r\n"
    "#define _AFX_NO_OLE_RESOURCES\r\n"
    "#define _AFX_NO_TRACKER_RESOURCES\r\n"
    "#define _AFX_NO_PROPERTY_RESOURCES\r\n"
    "\r\n"
    "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n"
    "#ifdef _WIN32\r\n"
    "LANGUAGE 9, 1\r\n"
    "#pragma code_page(1252)\r\n"
    "#endif\r\n"
    "#include ""res\\cbrowse.rc2""  // non-Microsoft Visual C++ edited resources\r\n"
    "#include ""afxres.rc""         // Standard components\r\n"
    "#endif\0"
END

#endif    // APSTUDIO_INVOKED


/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//

IDD_CBROWSE_DIALOG DIALOGEX 0, 0, 558, 349
STYLE WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_VISIBLE | WS_CAPTION | 
    WS_SYSMENU | WS_THICKFRAME
EXSTYLE WS_EX_APPWINDOW
CAPTION "CBrowse"
FONT 8, "MS Sans Serif", 0, 0, 0x1
BEGIN
    PUSHBUTTON      "<",IDC_BACKWARD,7,7,10,13
    PUSHBUTTON      ">",IDC_FORWARD,20,7,10,13
    PUSHBUTTON      "Reload",IDC_RELOAD,33,7,30,13
    PUSHBUTTON      "&Stop",IDC_STOP,66,7,25,13
    DEFPUSHBUTTON   "&Go",IDC_GO,526,7,25,13
    RTEXT           "&URL:",IDC_STATIC,94,9,18,8
    COMBOBOX        IDC_URL,116,7,405,52,CBS_DROPDOWN | CBS_AUTOHSCROLL | 
                    WS_VSCROLL | WS_TABSTOP
    CONTROL         "",IDC_TAB_MARKER,"Static",SS_BLACKFRAME,7,252,544,89
    CONTROL         "",IDC_BROWSER_MARKER,"Static",SS_BLACKFRAME,7,44,544,
                    202
    CONTROL         "",IDC_EDITBAR_MARKER,"Static",SS_BLACKFRAME,7,23,544,19
END


#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 0x1L
 FILESUBTYPE 0x0L
BEGIN
    BLOCK "StringFileInfo"
    BEGIN
        BLOCK "040904B0"
        BEGIN
            VALUE "CompanyName", "\0"
            VALUE "FileDescription", "cbrowse MFC Application\0"
            VALUE "FileVersion", "1, 0, 0, 1\0"
            VALUE "InternalName", "cbrowse\0"
            VALUE "LegalCopyright", "Copyright (C) 1998\0"
            VALUE "LegalTrademarks", "\0"
            VALUE "OriginalFilename", "cbrowse.EXE\0"
            VALUE "ProductName", "cbrowse Application\0"
            VALUE "ProductVersion", "1, 0, 0, 1\0"
        END
    END
    BLOCK "VarFileInfo"
    BEGIN
        VALUE "Translation", 0x409, 1200
    END
END

#endif    // !_MAC


/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//

#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO DISCARDABLE 
BEGIN
    IDD_CBROWSE_DIALOG, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 551
        TOPMARGIN, 7
        BOTTOMMARGIN, 341
        HORZGUIDE, 246
    END
END
#endif    // APSTUDIO_INVOKED


/////////////////////////////////////////////////////////////////////////////
//
// REGISTRY
//

IDR_CBROWSE             REGISTRY DISCARDABLE    "Cbrowse.rgs"
IDR_TESTSCRIPTHELPER    REGISTRY DISCARDABLE    "TestScriptHelper.rgs"
IDR_CONTROLEVENTSINK    REGISTRY DISCARDABLE    "ControlEventSink.rgs"

/////////////////////////////////////////////////////////////////////////////
//
// Menu
//

IDR_MAIN MENU DISCARDABLE 
BEGIN
    POPUP "&File"
    BEGIN
        MENUITEM "Sa&ve As...",                 ID_FILE_SAVEAS
        MENUITEM SEPARATOR
        MENUITEM "Page Setup...",               ID_FILE_PAGESETUP
        MENUITEM "&Print Page",                 ID_FILE_PRINT
        MENUITEM SEPARATOR
        MENUITEM "E&xit",                       ID_FILE_EXIT
    END
    POPUP "&Edit"
    BEGIN
        MENUITEM "Cu&t",                        ID_EDIT_CUT
        MENUITEM "&Copy",                       ID_EDIT_COPY
        MENUITEM "&Paste",                      ID_EDIT_PASTE
        MENUITEM SEPARATOR
        MENUITEM "Select &All",                 ID_EDIT_SELECTALL
    END
    POPUP "&View"
    BEGIN
        POPUP "&Go To"
        BEGIN
            MENUITEM "&Back",                       ID_VIEW_GOTO_BACK
            MENUITEM "&Forward",                    ID_VIEW_GOTO_FORWARD
            MENUITEM SEPARATOR
            MENUITEM "&Home Page",                  ID_VIEW_GOTO_HOME
        END
        MENUITEM "&Stop",                       ID_VIEW_STOP
        MENUITEM "&Refresh",                    ID_VIEW_REFRESH
        MENUITEM SEPARATOR
        MENUITEM "Sour&ce",                     ID_VIEW_VIEWSOURCE
        MENUITEM SEPARATOR
        MENUITEM "Edit Mode",                   ID_VIEW_EDITMODE
        MENUITEM "Open Links in New Windows",   ID_VIEW_OPENLINKSINNEWWINDOWS

    END
    POPUP "&Help"
    BEGIN
        MENUITEM "&About...",                   ID_HELP_ABOUT
    END
    POPUP "&Debug"
    BEGIN
        MENUITEM "&Visible",                    ID_DEBUG_VISIBLE
        MENUITEM "Post Data Test",              ID_DEBUG_POSTDATATEST
    END
END

#endif    // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////


/////////////////////////////////////////////////////////////////////////////
// English (U.K.) resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENG)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_UK
#pragma code_page(1252)
#endif //_WIN32

/////////////////////////////////////////////////////////////////////////////
//
// Icon
//

// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_TEST                ICON    DISCARDABLE     "res\\test.ico"

/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//

IDD_PICKBROWSER DIALOG DISCARDABLE  0, 0, 284, 232
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Welcome to CBrowse!"
FONT 8, "MS Sans Serif"
BEGIN
    LTEXT           "This is a browser/test application written in MFC that exercises the IE browser interface of the control that you choose from the list below.",
                    IDC_STATIC,7,7,213,27
    LTEXT           "Whatever control you choose, the exact same code is run upon it. Discrepancies in behaviour or test results may indicate a bug!",
                    IDC_STATIC,7,33,213,20
    LTEXT           "Pick the browser to test:",IDC_STATIC,7,56,77,8
    LISTBOX         IDC_LISTBROWSER,7,65,213,50,LBS_NOINTEGRALHEIGHT | 
                    WS_VSCROLL | WS_TABSTOP
    LTEXT           "Some of the tests require a test URL. You may change the default one if you want. Ensure that the URL is valid otherwise the tests might fail!",
                    IDC_STATIC,7,120,213,18
    EDITTEXT        IDC_TESTURL,7,138,213,13,ES_AUTOHSCROLL
    LTEXT           "Some tests also need a CGI URL, enter that here:",
                    IDC_STATIC,7,157,157,8
    EDITTEXT        IDC_TESTCGI,7,167,213,13,ES_AUTOHSCROLL
    CONTROL         "Override default drop target and popup menus",
                    IDC_OVERRIDE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,185,
                    207,10
    CONTROL         "Turn on Mozilla debugging (creates a mozilla.log file)",
                    IDC_CHECK1,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,197,
                    172,10
    EDITTEXT        IDC_EDIT1,7,210,213,14,ES_AUTOHSCROLL
    DEFPUSHBUTTON   "OK",IDOK,227,7,50,14
    PUSHBUTTON      "Cancel",IDCANCEL,227,24,50,14
END

IDD_TAB_MESSAGES DIALOG DISCARDABLE  0, 0, 275, 75
STYLE WS_CHILD | WS_VISIBLE
FONT 8, "MS Sans Serif"
BEGIN
    LISTBOX         IDC_OUTPUT,5,5,265,50,LBS_NOINTEGRALHEIGHT | WS_VSCROLL | 
                    WS_TABSTOP
    LTEXT           "Static",IDC_STATUS,5,59,197,11,SS_SUNKEN
    CONTROL         "Progress1",IDC_PROGRESS,"msctls_progress32",WS_BORDER,
                    205,59,65,11
END

IDD_TAB_TESTS DIALOG DISCARDABLE  0, 0, 275, 75
STYLE WS_CHILD | WS_VISIBLE
FONT 8, "MS Sans Serif"
BEGIN
    PUSHBUTTON      "Run",IDC_RUNTEST,212,56,50,14,WS_DISABLED
    CONTROL         "Tree1",IDC_TESTLIST,"SysTreeView32",TVS_HASBUTTONS | 
                    TVS_HASLINES | TVS_LINESATROOT | TVS_SHOWSELALWAYS | 
                    TVS_TRACKSELECT | WS_BORDER | WS_TABSTOP,5,5,196,65
    GROUPBOX        "Test Description",IDC_STATIC,203,5,66,47
    LTEXT           "",IDC_TESTDESCRIPTION,208,15,56,32
END

IDD_TAB_DOM DIALOG DISCARDABLE  0, 0, 275, 80
STYLE WS_CHILD | WS_VISIBLE | WS_CLIPCHILDREN
FONT 8, "MS Sans Serif"
BEGIN
    CONTROL         "Tree1",IDC_DOMLIST,"SysTreeView32",TVS_HASBUTTONS | 
                    TVS_HASLINES | TVS_LINESATROOT | TVS_SHOWSELALWAYS | 
                    TVS_TRACKSELECT | WS_BORDER | WS_TABSTOP,5,5,212,70
    PUSHBUTTON      "Refresh",IDC_REFRESHDOM,220,5,50,14
    PUSHBUTTON      "&Delete",IDC_BUTTON1,220,61,50,14,WS_DISABLED
END


/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//

#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO DISCARDABLE 
BEGIN
    IDD_PICKBROWSER, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 277
        TOPMARGIN, 7
        BOTTOMMARGIN, 225
    END

    IDD_TAB_MESSAGES, DIALOG
    BEGIN
        LEFTMARGIN, 5
        RIGHTMARGIN, 270
        TOPMARGIN, 5
        BOTTOMMARGIN, 70
    END

    IDD_TAB_TESTS, DIALOG
    BEGIN
        LEFTMARGIN, 5
        RIGHTMARGIN, 270
        TOPMARGIN, 5
        BOTTOMMARGIN, 70
    END

    IDD_TAB_DOM, DIALOG
    BEGIN
        LEFTMARGIN, 5
        RIGHTMARGIN, 270
        TOPMARGIN, 5
        BOTTOMMARGIN, 75
    END
END
#endif    // APSTUDIO_INVOKED


/////////////////////////////////////////////////////////////////////////////
//
// REGISTRY
//

IDR_CBROWSERCTLSITE     REGISTRY DISCARDABLE    "CBrowserCtlSite.rgs"

/////////////////////////////////////////////////////////////////////////////
//
// Toolbar
//

IDR_DHTMLEDIT TOOLBAR DISCARDABLE  16, 15
BEGIN
    BUTTON      IDB_BOLD
    BUTTON      IDB_ITALIC
    BUTTON      IDB_UNDERLINE
    SEPARATOR
    BUTTON      IDB_H1
    BUTTON      IDB_H2
    BUTTON      IDB_PARAGRAPH
    SEPARATOR
    BUTTON      ID_ORDEREDLIST
    BUTTON      IDB_UNORDEREDLIST
END


/////////////////////////////////////////////////////////////////////////////
//
// Bitmap
//

IDR_DHTMLEDIT           BITMAP  DISCARDABLE     "res\\toolbar1.bmp"

/////////////////////////////////////////////////////////////////////////////
//
// String Table
//

STRINGTABLE DISCARDABLE 
BEGIN
    IDS_CHOOSEBROWSER       "You must choose a browser control from the list to proceed."
END

STRINGTABLE DISCARDABLE 
BEGIN
    IDD_TAB_MESSAGES        "Messages"
    IDD_TAB_TESTS           "Tests"
    IDD_TAB_DOM             "DOM"
END

STRINGTABLE DISCARDABLE 
BEGIN
    IDB_BOLD                "Bold"
    IDB_ITALIC              "Italic"
    IDB_UNDERLINE           "Underline"
END

#endif    // English (U.K.) resources
/////////////////////////////////////////////////////////////////////////////



#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
#define _AFX_NO_SPLITTER_RESOURCES
#define _AFX_NO_OLE_RESOURCES
#define _AFX_NO_TRACKER_RESOURCES
#define _AFX_NO_PROPERTY_RESOURCES

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE 9, 1
#pragma code_page(1252)
#endif
#include "res\cbrowse.rc2"  // non-Microsoft Visual C++ edited resources
#include "afxres.rc"         // Standard components
#endif
/////////////////////////////////////////////////////////////////////////////
#endif    // not APSTUDIO_INVOKED