mirror of
https://github.com/reactos/reactos.git
synced 2024-12-30 19:14:31 +00:00
712015d695
svn path=/trunk/; revision=11299
272 lines
8 KiB
Text
272 lines
8 KiB
Text
/* $Id: mdi.rc,v 1.4 2004/10/16 22:30:19 gvg Exp $ */
|
|
|
|
#include <windows.h>
|
|
|
|
#define REACTOS_STR_FILE_DESCRIPTION "ReactOS MDI Sample Application by Robert Dickenson\0"
|
|
#define REACTOS_STR_INTERNAL_NAME "mdi\0"
|
|
#define REACTOS_STR_ORIGINAL_FILENAME "mdi.exe\0"
|
|
#define REACTOS_STR_ORIGINAL_COPYRIGHT "Copyright © 2002 Robert Dickenson\0"
|
|
#include <reactos/version.rc>
|
|
|
|
//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_MDI_APP ICON DISCARDABLE "res/mdi.ico"
|
|
IDI_SMALL ICON DISCARDABLE "res/small.ico"
|
|
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
// Bitmaps
|
|
//
|
|
|
|
IDB_TOOLBAR BITMAP DISCARDABLE "res/toolbar.bmp"
|
|
IDB_IMAGES BITMAP DISCARDABLE "res/images.bmp"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Menu
|
|
//
|
|
|
|
IDC_MDI_APP MENU DISCARDABLE
|
|
BEGIN
|
|
POPUP "&File"
|
|
BEGIN
|
|
MENUITEM "&Open\tEnter", ID_FILE_OPEN
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "&Run...\t", ID_FILE_RUN, GRAYED
|
|
MENUITEM "&Print...\t", ID_FILE_PRINT, GRAYED
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "E&xit", ID_FILE_EXIT
|
|
END
|
|
POPUP "&Options"
|
|
BEGIN
|
|
MENUITEM "&Confirmation...", ID_OPTIONS_CONFIRMATION, GRAYED
|
|
MENUITEM "&Font...", ID_OPTIONS_FONT, GRAYED
|
|
MENUITEM "Customise Tool&bar...", ID_OPTIONS_CUSTOMISE_TOOLBAR, GRAYED
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "&Toolbar", ID_OPTIONS_TOOLBAR
|
|
MENUITEM "&Statusbar", ID_OPTIONS_STATUSBAR
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "&Save Settings on Exit", ID_OPTIONS_SAVE_ON_EXIT, GRAYED
|
|
END
|
|
POPUP "&Window"
|
|
BEGIN
|
|
MENUITEM "&New Window", ID_WINDOW_NEW_WINDOW
|
|
MENUITEM "&Cascade\tShift+F5", ID_WINDOW_CASCADE
|
|
MENUITEM "Tile &Horizontally", ID_WINDOW_TILE_HORZ
|
|
MENUITEM "&Tile Vertically\tShift+F4", ID_WINDOW_TILE_VERT
|
|
MENUITEM "&Arrange Icons", ID_WINDOW_ARRANGE_ICONS
|
|
MENUITEM "&Refresh\tF5", ID_WINDOW_REFRESH
|
|
// MENUITEM SEPARATOR
|
|
END
|
|
POPUP "&Help"
|
|
BEGIN
|
|
MENUITEM "&Contents", ID_HELP_CONTENTS, GRAYED
|
|
MENUITEM "&Search for Help on...", ID_HELP_SEARCH_HELP, GRAYED
|
|
MENUITEM "&How to Use Help", ID_HELP_HOW_TO_USE_HELP, GRAYED
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "&About MDI Application", ID_HELP_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_MDI_APP,IDI_MDI_APP,14,9,16,16
|
|
LTEXT "ReactOS MDI Template Application Version 1.0",IDC_STATIC,49,10,119,8,
|
|
SS_NOPREFIX
|
|
LTEXT "Copyright (C) 2002 ReactOS Team",IDC_STATIC,49,20,119,8
|
|
DEFPUSHBUTTON "OK",IDOK,195,6,30,11,WS_GROUP
|
|
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
|
|
"\r\n"
|
|
"\0"
|
|
END
|
|
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// String Table
|
|
//
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_APP_TITLE "ReactOS Application"
|
|
|
|
ID_FILE_MENU "Commands for working with files"
|
|
ID_OPTIONS_MENU "Commands for setting options"
|
|
ID_WINDOW_MENU "Commands for manipulating windows"
|
|
ID_HELP_MENU "Commands for displaying help and information about application"
|
|
|
|
ID_FILE_OPEN "Opens a new application window"
|
|
ID_FILE_RUN "Runs an external application"
|
|
ID_FILE_PRINT "Prints the contents of the application window"
|
|
ID_FILE_EXIT "Quits the application"
|
|
|
|
ID_OPTIONS_CONFIRMATION "Controls confirmation messages..."
|
|
ID_OPTIONS_FONT "Changes the Application Font..."
|
|
ID_OPTIONS_CUSTOMISE_TOOLBAR "Customises the toolbar..."
|
|
ID_OPTIONS_TOOLBAR "Shows or hides the tool bar"
|
|
ID_OPTIONS_STATUSBAR "Shows or hides the status bar"
|
|
ID_OPTIONS_SAVE_ON_EXIT "Saves settings when exiting application"
|
|
|
|
ID_VIEW_SPLIT "Change position of split between two panes"
|
|
|
|
ID_WINDOW_NEW_WINDOW "Opens a new window"
|
|
ID_WINDOW_CASCADE "Cascades windows"
|
|
ID_WINDOW_TILE_HORZ "Tiles windows horizontally"
|
|
ID_WINDOW_TILE_VERT "Tiles windows vertically"
|
|
ID_WINDOW_ARRANGE_ICONS "Arranges icons"
|
|
ID_WINDOW_REFRESH "Updates the contents of a window"
|
|
|
|
ID_HELP_CONTENTS "Displays contents for Application Help"
|
|
ID_HELP_SEARCH_HELP "Searches for a topic in Application Help"
|
|
ID_HELP_HOW_TO_USE_HELP "Displays information about using help"
|
|
ID_HELP_ABOUT "Displays program information, version number and copyright"
|
|
|
|
IDC_MDI_APP "MDI_APP"
|
|
IDC_MDI_APP_CHILD "MDI_APP_CHILD"
|
|
END
|
|
|
|
#endif // English (U.S.) resources
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// English (Australia) resources
|
|
|
|
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENA)
|
|
#ifdef _WIN32
|
|
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_AUS
|
|
#pragma code_page(1252)
|
|
#endif //_WIN32
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Dialog
|
|
//
|
|
|
|
IDD_DIALOG1 DIALOG DISCARDABLE 0, 0, 186, 95
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Dialog"
|
|
FONT 8, "MS Sans Serif"
|
|
BEGIN
|
|
DEFPUSHBUTTON "OK",IDOK,129,7,50,14
|
|
PUSHBUTTON "Cancel",IDCANCEL,129,24,50,14
|
|
END
|
|
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// TEXTINCLUDE
|
|
//
|
|
|
|
1 TEXTINCLUDE DISCARDABLE
|
|
BEGIN
|
|
"resource.h\0"
|
|
END
|
|
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// DESIGNINFO
|
|
//
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
GUIDELINES DESIGNINFO DISCARDABLE
|
|
BEGIN
|
|
IDD_DIALOG1, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 179
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 88
|
|
END
|
|
END
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// String Table
|
|
//
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
ID_HELP_ABOUT "Displays program information, version number, and copyright."
|
|
END
|
|
|
|
#endif // English (Australia) resources
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef APSTUDIO_INVOKED
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE 3 resource.
|
|
//
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#endif // not APSTUDIO_INVOKED
|
|
|