/* * Help Viewer * * Copyright 1996 Ulrich Schmid * Copyright 2002 Sylvain Petreolle * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ #include "winhelp_res.h" /* Menu */ MAIN_MENU MENU LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT { POPUP "&File" { MENUITEM "&Open", MNID_FILE_OPEN MENUITEM SEPARATOR MENUITEM "&Print", MNID_FILE_PRINT MENUITEM "Printer &setup...", MNID_FILE_SETUP MENUITEM SEPARATOR MENUITEM "E&xit", MNID_FILE_EXIT } POPUP "&Edit" { MENUITEM "&Copy...", MNID_EDIT_COPYDLG MENUITEM SEPARATOR MENUITEM "&Annotate...", MNID_EDIT_ANNOTATE } POPUP "&Bookmark" { MENUITEM "&Define...", MNID_BKMK_DEFINE } POPUP "&Options" { POPUP "Help always visible" BEGIN MENUITEM "Default", MNID_OPTS_HELP_DEFAULT MENUITEM "Visible", MNID_OPTS_HELP_VISIBLE MENUITEM "Non visible", MNID_OPTS_HELP_NONVISIBLE END MENUITEM "History", MNID_OPTS_HISTORY POPUP "Fonts" BEGIN MENUITEM "Small", MNID_OPTS_FONTS_SMALL MENUITEM "Normal", MNID_OPTS_FONTS_NORMAL MENUITEM "Large", MNID_OPTS_FONTS_LARGE END MENUITEM "Use system colors", MNID_OPTS_SYSTEM_COLORS } POPUP "&Help" { MENUITEM "Help &on help", MNID_HELP_HELPON MENUITEM "Always on &top", MNID_HELP_HELPTOP MENUITEM SEPARATOR MENUITEM "&Info...", MNID_HELP_ABOUT #ifdef WINELIB MENUITEM "&About Wine", MNID_HELP_WINE #endif } } IDD_INDEX DIALOG DISCARDABLE 0, 0, 200, 190 LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU FONT 8, "MS Shell Dlg" CAPTION "Index" { LISTBOX IDC_INDEXLIST, 10, 10, 180, 150, LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_BORDER } IDD_SEARCH DIALOG DISCARDABLE 0, 0, 200, 190 LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU FONT 8, "MS Shell Dlg" CAPTION "Search" { LTEXT "Not implemented yet", -1, 10, 10, 180, 150 } /* Strings */ STRINGTABLE DISCARDABLE LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT { STID_WINE_HELP, "Wine Help" STID_WHERROR, "ERROR" STID_WARNING, "WARNING" STID_INFO, "Information" STID_NOT_IMPLEMENTED, "Not implemented" STID_HLPFILE_ERROR_s, "Error while reading the help file `%s'" STID_INDEX, "&Index" STID_CONTENTS, "Summary" STID_BACK, "&Back" STID_ALL_FILES, "All files (*.*)" STID_HELP_FILES_HLP, "Help files (*.hlp)" STID_FILE_NOT_FOUND_s "Cannot find '%s'. Do you want to find this file yourself?" STID_NO_RICHEDIT "Cannot find a richedit implementation... Aborting" STID_PSH_INDEX, "Help topics: " } CONTEXT_MENU MENU LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT BEGIN POPUP "" BEGIN MENUITEM "Annotation...", MNID_CTXT_ANNOTATE MENUITEM "Copy", MNID_CTXT_COPY MENUITEM "Print...", MNID_CTXT_PRINT POPUP "Fonts" BEGIN MENUITEM "Small", MNID_CTXT_FONTS_SMALL MENUITEM "Normal", MNID_CTXT_FONTS_NORMAL MENUITEM "Large", MNID_CTXT_FONTS_LARGE END POPUP "Help always visible" BEGIN MENUITEM "Default", MNID_CTXT_HELP_DEFAULT MENUITEM "Visible", MNID_CTXT_HELP_VISIBLE MENUITEM "Non visible", MNID_CTXT_HELP_NONVISIBLE END MENUITEM "Use system colors", MNID_CTXT_SYSTEM_COLORS END END