1/* 2 * Program Manager 3 * 4 * Copyright 1996 Ulrich Schmid 5 * Copyright 2002 Sylvain Petreolle 6 * 7 * This library is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU Lesser General Public 9 * License as published by the Free Software Foundation; either 10 * version 2.1 of the License, or (at your option) any later version. 11 * 12 * This library is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 * Lesser General Public License for more details. 16 * 17 * You should have received a copy of the GNU Lesser General Public 18 * License along with this library; if not, write to the Free Software 19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 20 */ 21 22#include <windef.h> 23#include <winuser.h> 24 25#include "resource.h" 26 27LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL 28 29#define REACTOS_STR_FILE_DESCRIPTION "ReactOS Program Manager" 30#define REACTOS_STR_INTERNAL_NAME "progman" 31#define REACTOS_STR_ORIGINAL_FILENAME "progman.exe" 32#include <reactos/version.rc> 33 34IDI_APPICON ICON "res/progman.ico" 35IDI_GROUP_PERSONAL_ICON ICON "res/group_personal.ico" 36IDI_GROUP_COMMON_ICON ICON "res/group_common.ico" 37IDI_ROSLOGO ICON "res/roslogo.ico" 38IDI_GROUP_ICON ICON "res/group.ico" 39IDI_TERMINAL ICON "res/terminal.ico" 40 41#include <reactos/manifest_exe.rc> 42 43/* UTF-8 */ 44#pragma code_page(65001) 45 46#if 0 // Work in progress! See "new_resources.rc" 47 48LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT 49 50 51/* Dialog `New' */ 52 53IDD_NEW DIALOG 0, 0, 170, 65 54STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU 55FONT 8, "MS Shell Dlg" 56CAPTION "New" 57{ 58RADIOBUTTON "", PM_NEW_GROUP, 10, 15, 10, 15 59LTEXT "Program &group", -1, 20, 18, 80, 15 60RADIOBUTTON "", PM_NEW_PROGRAM, 10, 35, 10, 15 61LTEXT "&Program", -1, 20, 38, 80, 15 62DEFPUSHBUTTON "OK", IDOK, 105, 5, 60, 15, WS_TABSTOP 63PUSHBUTTON "Cancel", IDCANCEL, 105, 25, 60, 15, WS_TABSTOP 64PUSHBUTTON "&Help", PM_HELP, 105, 45, 60, 15, WS_TABSTOP 65} 66 67/* Dialog `Move' */ 68 69IDD_COPY_MOVE DIALOG 0, 0, 250, 65 70STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU 71FONT 8, "MS Shell Dlg" 72CAPTION "Move Program" 73{ 74LTEXT "Move program:", -1, 5, 5, 90, 15 75LTEXT "", PM_PROGRAM, 95, 5, 90, 15 76LTEXT "From group:", -1, 5, 13, 90, 15 77LTEXT "", PM_FROM_GROUP, 95, 13, 90, 15 78LTEXT "&To group:", PM_TO_GROUP_TXT, 5, 28, 140, 15 79COMBOBOX PM_TO_GROUP, 5, 38, 140, 50, WS_TABSTOP | CBS_DROPDOWNLIST 80DEFPUSHBUTTON "OK", IDOK, 185, 5, 60, 15, WS_TABSTOP 81PUSHBUTTON "Cancel", IDCANCEL, 185, 25, 60, 15, WS_TABSTOP 82PUSHBUTTON "&Help", PM_HELP, 185, 45, 60, 15, WS_TABSTOP 83} 84 85/* Dialog `Copy' */ 86 87IDD_COPY DIALOG 0, 0, 250, 65 88STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU 89FONT 8, "MS Shell Dlg" 90CAPTION "Copy Program" 91{ 92LTEXT "Copy program:", -1, 5, 5, 90, 15 93LTEXT "", PM_PROGRAM, 95, 5, 90, 15 94LTEXT "From group:", -1, 5, 13, 90, 15 95LTEXT "", PM_FROM_GROUP, 95, 13, 90, 15 96LTEXT "&To group:", PM_TO_GROUP_TXT, 5, 28, 140, 15 97COMBOBOX PM_TO_GROUP, 5, 38, 140, 50, WS_TABSTOP | CBS_DROPDOWNLIST 98DEFPUSHBUTTON "OK", IDOK, 185, 5, 60, 15, WS_TABSTOP 99PUSHBUTTON "Cancel", IDCANCEL, 185, 25, 60, 15, WS_TABSTOP 100PUSHBUTTON "&Help", PM_HELP, 185, 45, 60, 15, WS_TABSTOP 101} 102 103/* Dialog `Group attributes' */ 104 105IDD_GROUP DIALOG 0, 0, 250, 65 106STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU 107FONT 8, "MS Shell Dlg" 108CAPTION "Program Group Attributes" 109{ 110LTEXT "&Description:", PM_DESCRIPTION_TXT, 5, 18, 60, 15 111EDITTEXT PM_DESCRIPTION, 70, 18, 110, 15, WS_TABSTOP 112LTEXT "&Group file:", PM_FILE_TXT, 5, 38, 60, 15 113EDITTEXT PM_FILE, 70, 38, 110, 15, WS_TABSTOP 114DEFPUSHBUTTON "OK", IDOK, 185, 5, 60, 15, WS_TABSTOP 115PUSHBUTTON "Cancel", IDCANCEL, 185, 25, 60, 15, WS_TABSTOP 116PUSHBUTTON "&Help", PM_HELP, 185, 45, 60, 15, WS_TABSTOP 117} 118 119/* Dialog `Program attributes' */ 120 121IDD_PROGRAM DIALOG 0, 0, 275, 105 122STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU 123FONT 8, "MS Shell Dlg" 124CAPTION "Program Attributes" 125{ 126LTEXT "&Description:", PM_DESCRIPTION_TXT, 5, 10, 75, 10 127EDITTEXT PM_DESCRIPTION, 95, 10, 90, 15, WS_TABSTOP 128LTEXT "&Command line:", PM_COMMAND_LINE_TXT, 5, 25, 75, 10 129EDITTEXT PM_COMMAND_LINE, 95, 25, 90, 15, WS_TABSTOP 130LTEXT "&Working directory:", PM_DIRECTORY_TXT, 5, 40, 75, 10 131EDITTEXT PM_DIRECTORY, 95, 40, 90, 15, WS_TABSTOP 132LTEXT "&Key combination:", PM_HOT_KEY_TXT, 5, 55, 75, 10 133EDITTEXT PM_HOT_KEY, 95, 55, 90, 15, WS_TABSTOP 134#ifdef __REACTOS__ 135ICON "", PM_ICON, 20, 70, 20, 20 136#else 137ICON "", PM_ICON, 20, 70 138#endif 139CHECKBOX "&Minimize at launch", PM_SYMBOL, 95, 75, 90, 10, WS_TABSTOP 140DEFPUSHBUTTON "OK", IDOK, 200, 5, 70, 15, WS_TABSTOP 141PUSHBUTTON "Cancel", IDCANCEL, 200, 25, 70, 15, WS_TABSTOP 142PUSHBUTTON "&Browse...", PM_BROWSE, 200, 45, 70, 15, WS_TABSTOP 143PUSHBUTTON "Change &icon...", PM_OTHER_SYMBOL, 200, 65, 70, 15, WS_TABSTOP 144PUSHBUTTON "&Help", PM_HELP, 200, 85, 70, 15, WS_TABSTOP 145} 146 147/* Dialog `Symbol' */ 148 149IDD_SYMBOL DIALOG 0, 0, 240, 85 150STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU 151FONT 8, "MS Shell Dlg" 152CAPTION "Change Icon" 153{ 154LTEXT "&Filename:", PM_ICON_FILE_TXT, 5, 15, 60, 10 155EDITTEXT PM_ICON_FILE, 65, 15, 105, 15, WS_TABSTOP 156LTEXT "Current &icon:", PM_SYMBOL_LIST_TXT, 5, 30, 60, 10 157COMBOBOX PM_SYMBOL_LIST, 5, 40, 60, 50, 158 CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | CBS_OWNERDRAWFIXED | WS_TABSTOP 159DEFPUSHBUTTON "OK", IDOK, 175, 5, 60, 15, WS_TABSTOP 160PUSHBUTTON "Cancel", IDCANCEL, 175, 25, 60, 15, WS_TABSTOP 161PUSHBUTTON "&Browse...", PM_BROWSE, 175, 45, 60, 15, WS_TABSTOP 162PUSHBUTTON "&Help", PM_HELP, 175, 65, 60, 15, WS_TABSTOP 163} 164 165/* Dialog `Execute' */ 166 167IDD_EXECUTE DIALOG 0, 0, 200, 85 168STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU 169FONT 8, "MS Shell Dlg" 170CAPTION "Execute Program" 171{ 172LTEXT "&Command line:", -1, 05, 15, 120, 10 173EDITTEXT PM_COMMAND, 05, 25, 120, 15, WS_TABSTOP 174CHECKBOX "", PM_SYMBOL, 05, 45, 10, 10, WS_TABSTOP 175LTEXT "&Minimize at launch", -1, 20, 45, 120, 10 176DEFPUSHBUTTON "OK", IDOK, 135, 5, 60, 15, WS_TABSTOP 177PUSHBUTTON "Cancel", IDCANCEL, 135, 25, 60, 15, WS_TABSTOP 178PUSHBUTTON "&Browse...", PM_BROWSE, 135, 45, 60, 15, WS_TABSTOP 179PUSHBUTTON "&Help", PM_HELP, 135, 65, 60, 15, WS_TABSTOP 180} 181 182#endif 183 184#include "new_resources.rc" 185