|
|
#include <windows.h> //#include <commctrl.h> #ifndef WIN16 #include <winver.h> #endif // !WIN16 #include "resource.h"
#include <ntverp.h>
#define VER_FILETYPE VFT_APP #define VER_FILESUBTYPE VFT_UNKNOWN #define VER_FILEDESCRIPTION_STR "Outlook Express MimeEditor Pad" #define VER_INTERNALNAME_STR "MEPAD" #define VER_ORIGINALFILENAME_STR "MEPAD.exe" #define VER_FILEVERSION_STR VER_PRODUCTVERSION_STR
#include <common.ver>
idiApp ICON DISCARDABLE "mepad.ico"
idbToolbar BITMAP DISCARDABLE "toolbar.bmp"
idmrMainMenu MENUEX DISCARDABLE BEGIN POPUP "&File", idmPopupFile BEGIN MENUITEM "&New\tCtrl+N", idmNew MENUITEM "&Open\tCtrl+O", idmOpen MENUITEM "&Save As", idmSaveAs MENUITEM "", -1, MFT_SEPARATOR MENUITEM "&Print\tCtrl+P", idmPrint MENUITEM "", -1, MFT_SEPARATOR MENUITEM "&Close\tAlt+F4", idmClose END POPUP "&Edit", idmPopupEdit BEGIN MENUITEM "&Undo\tCtrl+Z", idmUndo MENUITEM "&Redo\tCtrl+Y", idmRedo MENUITEM "", -1, MFT_SEPARATOR MENUITEM "&Cut\tCtrl+X", idmCut MENUITEM "&Copy\tCtrl+C", idmCopy MENUITEM "&Paste\tCtrl+V", idmPaste MENUITEM "", -1, MFT_SEPARATOR MENUITEM "&Find\tCtrl+F", idmFind MENUITEM "&Select All\tCtrl+A", idmSelectAll MENUITEM "", -1, MFT_SEPARATOR MENUITEM "&HTML Mode", idmHTMLMode MENUITEM "", -1, MFT_SEPARATOR MENUITEM "&Rot 13\t", idmRot13 MENUITEM "&Background Picture...\t", idmBackground MENUITEM "&Edit Document", idmEditDocument END POPUP "&View", idmPopupView BEGIN MENUITEM "&Toolbar", idmToggleToolbar MENUITEM "&Status Bar", idmToggleStatusbar MENUITEM "", -1, MFT_SEPARATOR MENUITEM "&No Header", idmNoHeader MENUITEM "&Preview Header", idmPreview MENUITEM "&Mini Header", idmMiniHeader MENUITEM "&Format Bar", idmFormatBar MENUITEM "", -1, MFT_SEPARATOR MENUITEM "&Language...", idmLang END POPUP "&Format" BEGIN MENUITEM "&Font", idmFont MENUITEM "&Paragraph", idmPara END POPUP "&Insert" BEGIN MENUITEM "&Text File", idmInsertFile END POPUP "&Tools", idmPopupTools BEGIN MENUITEM "&Preivew Format", idmFmtPreview MENUITEM "&Spelling", idmSpelling MENUITEM "&Options", idmOptions END
POPUP "&Window", idmPopupWindow BEGIN MENUITEM "&Cascade", idmCascade MENUITEM "&Tile", idmTile END POPUP "&Test" BEGIN MENUITEM "&SaveAsMHTML", idmSaveAsMHTML MENUITEM "&Save As Stationery", idmSaveAsStationery MENUITEM "&SetDocumentText", idmSetText MENUITEM "", -1, MFT_SEPARATOR MENUITEM "Set background to RED", idmTestBackRed MENUITEM "Set text selection background to RED", idmTestForeRed END
POPUP "&Help", idmPopupHelp BEGIN MENUITEM "&About MePad", idmAbout END END
STRINGTABLE DISCARDABLE BEGIN (idmPopupFile+MH_BASE) "Contains commands for working with the selected items." (idmNew+MH_BASE) "New document" (idmOpen+MH_BASE) "Opens a file." (idmSave+MH_BASE) "Save" (idmSaveAs+MH_BASE) "Save As" (idmPageSetup+MH_BASE) "Enables you to change the page setup." (idmPrint+MH_BASE) "Print." (idmClose+MH_BASE) "Closes the window." (idmPopupHelp+MH_BASE) "Contains commands for displaying help." (idmAbout+MH_BASE) "Displays infomation about MEPAD" END
// TOOLTIP strings STRINGTABLE DISCARDABLE BEGIN (idmNew+TT_BASE) "New" (idmOpen+TT_BASE) "Open" (idmSave+TT_BASE) "Save" (idmBack+TT_BASE) "Back" (idmForward+TT_BASE) "Forward" (idmPrint+TT_BASE) "Print" (idmAbout+TT_BASE) "Show info" END
idacMeHost ACCELERATORS MOVEABLE PURE BEGIN VK_F2, idmViewSource, VIRTKEY, CONTROL, NOINVERT VK_F3, idmViewMsgSource, VIRTKEY, CONTROL, NOINVERT END
iddFmt DIALOG DISCARDABLE 0, 0, 259, 110 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "Preview Format String" FONT 8, "MS Shell Dlg" BEGIN DEFPUSHBUTTON "OK",IDOK,202,7,50,14 PUSHBUTTON "Cancel",IDCANCEL,202,24,50,14 LTEXT "Control String for preview pane:\n&&s - subject\n&&c - carbon copies\n&&f - from\n&&t - to\n&&b - linebreak", -1,15,15,169,56 EDITTEXT idcEdit,20,81,225,16,ES_AUTOHSCROLL END
iddLang DIALOGEX 0, 0, 202, 57 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "Pick Charset to Apply..." FONT 8, "MS Shell Dlg" BEGIN DEFPUSHBUTTON "OK",IDOK,145,7,50,14 PUSHBUTTON "Cancel",IDCANCEL,145,24,50,14 COMBOBOX idcLang,14,15,125,120,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP,WS_EX_NOPARENTNOTIFY | WS_EX_CLIENTEDGE END
iddOptions DIALOG DISCARDABLE 0, 0, 357, 258 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "MimeEdit Host Options" FONT 8, "MS Shell Dlg" BEGIN DEFPUSHBUTTON "OK",IDOK,302,8,50,14 PUSHBUTTON "Cancel",IDCANCEL,302,26,50,14 CONTROL "Autoinline Images",idcAuto,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,19,21,136,12 CONTROL "as a slideshow",idcSlide,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,32,33,136,12 CONTROL "Quote Text with",idcQuote,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,19,49,63,12 EDITTEXT ideQuote,86,48,23,12,ES_AUTOHSCROLL CONTROL "HTML OK",25,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,19,63, 79,15 CONTROL "Include Message",idcInclude,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,19,79,98,12 CONTROL "Send Images",idcSendImages,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,19,94,98,12 GROUPBOX " Options ",-1,8,7,286,232 CONTROL "Compose Font",idcComposeFont,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,19,111,60,10 EDITTEXT ideComposeFont,82,109,84,12,ES_AUTOHSCROLL LTEXT "[Bold],[Italic],[Underline],\n[size],[FGRed.FGGreen.FGBlue],\n[BGRed.BGGreen.BGBlue],[FontFace]", -1,31,126,126,32 GROUPBOX " Reply Header ",-1,199,29,86,82 CONTROL "None",idrbNone,"Button",BS_AUTORADIOBUTTON,207,42,61,12 CONTROL "News",idrbMail,"Button",BS_AUTORADIOBUTTON,207,53,61,12 CONTROL "Mail",idrbNews,"Button",BS_AUTORADIOBUTTON,207,64,61,12 CONTROL "Printing",idrbPrint,"Button",BS_AUTORADIOBUTTON,207,75, 61,12 CONTROL "BlockQuote",idcBlockQuote,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,208,91,70,12 CONTROL "AutoSig",idcSig,"Button",BS_AUTOCHECKBOX | WS_TABSTOP, 20,173,49,11 EDITTEXT ideSig,70,171,101,47,ES_MULTILINE | ES_AUTOHSCROLL | ES_WANTRETURN CONTROL "HTML",idcSigHtml,"Button",BS_AUTOCHECKBOX | WS_TABSTOP, 20,187,38,9 GROUPBOX " Signature ",-1,14,158,165,65 END
iddSaveAsMHTML DIALOG DISCARDABLE 0, 0, 205, 79 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "SaveASMHTMLTest" FONT 8, "MS Shell Dlg" BEGIN DEFPUSHBUTTON "OK",IDOK,148,7,50,14 PUSHBUTTON "Cancel",IDCANCEL,148,24,50,14 CONTROL "PlainText",idcPlain,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,17,19,89,11 CONTROL "HTML",25,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,17,30,83, 11 CONTROL "Images",idcImages,"Button",BS_AUTOCHECKBOX | WS_TABSTOP, 17,42,75,11 GROUPBOX " Encode this data ",-1,7,7,110,65 CONTROL "Send file:// only",idcFiles,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,17,54,75,11 END
iddGeneric DIALOG DISCARDABLE 0, 0, 297, 68 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "Dialog" FONT 8, "MS Shell Dlg" BEGIN DEFPUSHBUTTON "OK",IDOK,240,7,50,14 PUSHBUTTON "Cancel",IDCANCEL,240,24,50,14 EDITTEXT idcEdit,23,25,181,15,ES_AUTOHSCROLL GROUPBOX "Static",-1,14,7,213,46 END
|