Click here to Skip to main content
14,084,843 members
Click here to Skip to main content

Stats

299.1K views
79.1K downloads
227 bookmarked
Posted 30 Dec 2005
Licenced CPOL

Form Designer

, 1 Aug 2009
Component for adding scriptable forms capabilities to an application.
MFCDemo.exe
CSDemo
App.ico
Bmp
ABottom.bmp
About.bmp
ALeft.bmp
ARight.bmp
ATop.bmp
AX.bmp
BringFront.bmp
Button.bmp
Center.bmp
Check.bmp
Combo.bmp
Copy.bmp
Cut.bmp
Delete.bmp
Down.bmp
Edit.bmp
Frame.bmp
Grid.bmp
GridSettings.bmp
HCenter.bmp
HScroll.bmp
HSL.bmp
HSpace.bmp
HSS.bmp
Left.bmp
List.bmp
New.bmp
Open.bmp
Paste.bmp
Picture.bmp
Preview.bmp
Progress.bmp
Props.bmp
Radio.bmp
Rectangle.bmp
Redo.bmp
Right.bmp
Save.bmp
SelAll.bmp
SelNone.bmp
SendBack.bmp
SL.bmp
Slider.bmp
Spin.bmp
SS.bmp
Tab.bmp
Text.bmp
Undo.bmp
Up.bmp
Validate.bmp
VCenter.bmp
VScroll.bmp
VSL.bmp
VSpace.bmp
VSS.bmp
Wand.bmp
CSDemo.suo
DaeDoe.bmp
MFCDemo
MFCDemo.dsp
MFCDemo.odl
MFCDemo.reg
res
DaeDoe.bmp
MFCDemo.ico
MFCDemoDoc.ico
Toolbar1.bmp
Toolbar2.bmp
Toolbar3.bmp
Wand.bmp
VBDemo
Bmp
ABottom.bmp
About.bmp
ALeft.bmp
ARight.bmp
ATop.bmp
AX.bmp
BringFront.bmp
Button.bmp
Center.bmp
Check.bmp
Combo.bmp
Copy.bmp
Cut.bmp
Delete.bmp
Down.bmp
Edit.bmp
Frame.bmp
Grid.bmp
GridSettings.bmp
HCenter.bmp
HScroll.bmp
HSL.bmp
HSpace.bmp
HSS.bmp
Left.bmp
List.bmp
New.bmp
Open.bmp
Paste.bmp
Picture.bmp
Preview.bmp
Progress.bmp
Props.bmp
Radio.bmp
Rectangle.bmp
Redo.bmp
Right.bmp
Save.bmp
SelAll.bmp
SelNone.bmp
SendBack.bmp
SL.bmp
Slider.bmp
Spin.bmp
SS.bmp
Tab.bmp
Text.bmp
Undo.bmp
Up.bmp
Validate.bmp
VCenter.bmp
VScroll.bmp
VSL.bmp
VSpace.bmp
VSS.bmp
Wand.bmp
DaeDoe.bmp
VBDemo.vbp
DDForms.chm
DDForms
Archive
FormEditorItems.rgs
vssver.scc
Constants.scr
DaeDoe.bmp
DDForms.def
DDForms.vcproj
DDForms.vcproj.vspscc
EventSinkPassThrough.rgs
FormEditor.bmp
FormEditor.rgs
FormEditorItemCollection.rgs
FormEditorItemDetails.rgs
FormViewer.bmp
FormViewer.rgs
FormViewerItemCollection.rgs
FormViewerItemDetails.rgs
mssccprj.scc
PropPageExtended.rgs
PropPageFormEditor.rgs
PropPageFormViewer.rgs
PropPageSimpleScriptEditor.rgs
SimpleScriptEditor.bmp
SimpleScriptEditor.rgs
vssver.scc
DDFormsTools
CodeMaxDriver
CodeMaxDriver.rgs
CodeMaxDriver.vcproj
CodeMaxDriver.vcproj.vspscc
CodeMaxDriverps.def
CodeMaxDriverPS.vcproj
CodeMaxDriverPS.vcproj.vspscc
mssccprj.scc
vssver.scc
CodeSenseDriver
CodeSenseDriver.rgs
CodeSenseDriver.vcproj
CodeSenseDriver.vcproj.vspscc
CodeSenseDriverps.def
CodeSenseDriverPS.vcproj
CodeSenseDriverPS.vcproj.vspscc
mssccprj.scc
vssver.scc
DDPropPageAll
DDPropPageAll.def
DDPropPageAll.vcproj
DDPropPageAll.vcproj.vspscc
mssccprj.scc
PropPageAll.rgs
vssver.scc
DDUnlock
DDUnlock.vcproj
DDUnlock.vcproj.vspscc
mssccprj.scc
vssver.scc
DDControlPack
DDButton.bmp
DDCheckBox.bmp
DDComboBox.bmp
DDControlPack.rgs
DDControlPack.vcproj
DDControlPack.vcproj.vspscc
DDHorzScrollBar.bmp
DDLabel.bmp
DDListBox.bmp
DDPicture.bmp
DDRadioButton.bmp
DDTextBox.bmp
DDVertScrollBar.bmp
mssccprj.scc
vssver.scc
Redistributables
Ansi
CodeMaxDriver.dll
CodeSenseDriver.dll
DDControlPack.dll
DDForms.dll
DDPropPageAll.dll
Unicode
CodeMaxDriver.dll
CodeSenseDriver.dll
DDControlPack.dll
DDForms.dll
DDPropPageAll.dll
//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

/////////////////////////////////////////////////////////////////////////////
// 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

#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 //_WIN32\r\n"
    "#include ""res\\MFCDemo.rc2""  // non-Microsoft Visual C++ edited resources\r\n"
    "#include ""afxres.rc""         // Standard components\r\n"
    "#include ""afxprint.rc""       // printing/print preview resources\r\n"
    "#endif\r\n"
    "\0"
END

#endif    // APSTUDIO_INVOKED


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

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

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

IDR_TOOLBAR1            BITMAP  MOVEABLE PURE   "res\\Toolbar1.bmp"
IDR_TOOLBAR2            BITMAP  DISCARDABLE     "res\\Toolbar2.bmp"
IDR_TOOLBAR3            BITMAP  DISCARDABLE     "res\\Toolbar3.bmp"
IDB_DAEDOE              BITMAP  DISCARDABLE     "res\\DaeDoe.bmp"
IDB_WAND                BITMAP  DISCARDABLE     "res\\Wand.bmp"

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

IDR_TOOLBAR1 TOOLBAR DISCARDABLE  16, 16
BEGIN
    BUTTON      ID_NEW
    BUTTON      ID_OPEN
    BUTTON      ID_SAVE
    SEPARATOR
    BUTTON      ID_CUT
    BUTTON      ID_COPY
    BUTTON      ID_PASTE
    SEPARATOR
    BUTTON      ID_UNDO
    BUTTON      ID_REDO
    SEPARATOR
    BUTTON      ID_ABOUT
END

IDR_TOOLBAR2 TOOLBAR DISCARDABLE  16, 16
BEGIN
    BUTTON      ID_FRAME
    BUTTON      ID_RECTANGLE
    BUTTON      ID_PICTURE
    BUTTON      ID_LABEL
    BUTTON      ID_BUTTON
    BUTTON      ID_CHECK
    BUTTON      ID_RADIO
    BUTTON      ID_TEXT
    BUTTON      ID_COMBO
    BUTTON      ID_LIST
    BUTTON      ID_HSCROLL
    BUTTON      ID_VSCROLL
    SEPARATOR
    BUTTON      ID_SPIN
    BUTTON      ID_SLIDER
    BUTTON      ID_PROGRESS
    SEPARATOR
    BUTTON      ID_ACTIVEX
    SEPARATOR
    BUTTON      ID_DELETE
    SEPARATOR
    BUTTON      ID_GRID
    BUTTON      ID_GRID_SETTINGS
    SEPARATOR
    BUTTON      ID_TAB
    SEPARATOR
    BUTTON      ID_SELECT_ALL
    BUTTON      ID_UNSELECT_ALL
    SEPARATOR
    BUTTON      ID_PROPERTIES
END

IDR_TOOLBAR3 TOOLBAR DISCARDABLE  16, 16
BEGIN
    BUTTON      ID_LEFT
    BUTTON      ID_RIGHT
    BUTTON      ID_UP
    BUTTON      ID_DOWN
    SEPARATOR
    BUTTON      ID_LAYOUT_SENDTOBACK
    BUTTON      ID_LAYOUT_BRINGTOFRONT
    SEPARATOR
    BUTTON      ID_ALIGN_LEFT
    BUTTON      ID_ALIGN_RIGHT
    BUTTON      ID_ALIGN_TOP
    BUTTON      ID_ALIGN_BOTTOM
    SEPARATOR
    BUTTON      ID_SPACE_HORZ
    BUTTON      ID_SPACE_VERT
    SEPARATOR
    BUTTON      ID_SIZE_LARGEST_WIDTH
    BUTTON      ID_SIZE_LARGEST_HEIGHT
    BUTTON      ID_SIZE_LARGEST
    SEPARATOR
    BUTTON      ID_SIZE_SMALLEST_WIDTH
    BUTTON      ID_SIZE_SMALLEST_HEIGHT
    BUTTON      ID_SIZE_SMALLEST
    SEPARATOR
    BUTTON      ID_CENTER_HORZ
    BUTTON      ID_CENTER_VERT
    BUTTON      ID_CENTER
    SEPARATOR
    BUTTON      ID_VALIDATE_SCRIPT
    SEPARATOR
    BUTTON      ID_PREVIEW_AUTO_SIZE
    BUTTON      ID_PREVIEW
END


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

IDR_MAINFRAME MENU PRELOAD DISCARDABLE 
BEGIN
    POPUP "&File"
    BEGIN
        MENUITEM "&New\tCtrl+N",                ID_NEW
        MENUITEM "&Open...\tCtrl+O",            ID_OPEN
        MENUITEM "&Save\tCtrl+S",               ID_SAVE
        MENUITEM "Save &As...",                 ID_SAVE_AS
        MENUITEM SEPARATOR
        MENUITEM "E&xit",                       ID_APP_EXIT
    END
    POPUP "&Edit"
    BEGIN
        MENUITEM "&Undo\tCtrl+Z",               ID_UNDO
        MENUITEM "&Redo\tCtrl+Y",               ID_REDO
        MENUITEM SEPARATOR
        MENUITEM "Cu&t\tCtrl+X",                ID_CUT
        MENUITEM "&Copy\tCtrl+C",               ID_COPY
        MENUITEM "&Paste\tCtrl+V",              ID_PASTE
        MENUITEM SEPARATOR
        MENUITEM "&Delete\tDel",                ID_DELETE
        MENUITEM SEPARATOR
        MENUITEM "Select &All",                 ID_SELECT_ALL
        MENUITEM "U&nselect All",               ID_UNSELECT_ALL
        MENUITEM SEPARATOR
        MENUITEM "Pr&operties...",              ID_PROPERTIES
    END
    POPUP "&Controls"
    BEGIN
        MENUITEM "&Frame",                      ID_FRAME
        MENUITEM "&Rectangle",                  ID_RECTANGLE
        MENUITEM "Pict&ure",                    ID_PICTURE
        MENUITEM "&Label",                      ID_LABEL
        MENUITEM "&Button",                     ID_BUTTON
        MENUITEM "&Check Box",                  ID_CHECK
        MENUITEM "R&adio Button",               ID_RADIO
        MENUITEM "&Text Box",                   ID_TEXT
        MENUITEM "C&ombo Box",                  ID_COMBO
        MENUITEM "L&ist Box",                   ID_LIST
        MENUITEM "&Horizontal Scrollbar",       ID_HSCROLL
        MENUITEM "&Vertical Scrollbar",         ID_VSCROLL
        MENUITEM SEPARATOR
        MENUITEM "S&pin Control",               ID_SPIN
        MENUITEM "Sli&der Control",             ID_SLIDER
        MENUITEM "Pro&gress Bar Control",       ID_PROGRESS
        MENUITEM SEPARATOR
        MENUITEM "Other Active&X Control...",   ID_ACTIVEX
    END
    POPUP "&Layout"
    BEGIN
        MENUITEM "&Left",                       ID_LEFT
        MENUITEM "&Right",                      ID_RIGHT
        MENUITEM "&Up",                         ID_UP
        MENUITEM "&Down",                       ID_DOWN
        MENUITEM SEPARATOR
        MENUITEM "Send To &Back",               ID_LAYOUT_SENDTOBACK
        MENUITEM "Bring To &Front",             ID_LAYOUT_BRINGTOFRONT
        MENUITEM SEPARATOR
        POPUP "&Align"
        BEGIN
            MENUITEM "&Left",                       ID_ALIGN_LEFT
            MENUITEM "&Right",                      ID_ALIGN_RIGHT
            MENUITEM "&Top",                        ID_ALIGN_TOP
            MENUITEM "&Bottom",                     ID_ALIGN_BOTTOM
        END
        POPUP "S&pace"
        BEGIN
            MENUITEM "&Horizontal",                 ID_SPACE_HORZ
            MENUITEM "&Vertical",                   ID_SPACE_VERT
        END
        MENUITEM SEPARATOR
        POPUP "Size Lar&gest"
        BEGIN
            MENUITEM "&Width",                      ID_SIZE_LARGEST_WIDTH
            MENUITEM "&Height",                     ID_SIZE_LARGEST_HEIGHT
            MENUITEM "&Both",                       ID_SIZE_LARGEST
        END
        POPUP "Size &Smallest"
        BEGIN
            MENUITEM "&Width",                      ID_SIZE_SMALLEST_WIDTH
            MENUITEM "&Height",                     ID_SIZE_SMALLEST_HEIGHT
            MENUITEM "&Both",                       ID_SIZE_SMALLEST
        END
        MENUITEM SEPARATOR
        POPUP "&Center"
        BEGIN
            MENUITEM "&Horizontal",                 ID_CENTER_HORZ
            MENUITEM "&Vertical",                   ID_CENTER_VERT
            MENUITEM "&Both",                       ID_CENTER
        END
    END
    POPUP "&Tools"
    BEGIN
        MENUITEM "Toggle &Grid",                ID_GRID
        MENUITEM "Grid &Settings...",           ID_GRID_SETTINGS
        MENUITEM SEPARATOR
        MENUITEM "Set &Tab Order",              ID_TAB
        MENUITEM SEPARATOR
        MENUITEM "&Validate Script\tCtrl+Q",    ID_VALIDATE_SCRIPT
        MENUITEM SEPARATOR
        POPUP "&Preview"
        BEGIN
            MENUITEM "&Auto Sizing...",             ID_PREVIEW_AUTO_SIZE
            MENUITEM "&None Auto Sizing...",        ID_PREVIEW
        END
    END
    POPUP "&Help"
    BEGIN
        MENUITEM "&About...",                   ID_ABOUT
    END
END


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

IDD_ABOUTBOX DIALOG DISCARDABLE  0, 0, 182, 76
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "About"
FONT 8, "MS Sans Serif"
BEGIN
    LTEXT           "DaeDoe Forms Demonstration Application, v1.00",
                    IDC_STATIC,5,5,170,10
    LTEXT           "Copyright (c) 2002, DaeDoe-Software",IDC_STATIC,5,15,
                    170,10
    GROUPBOX        "Components",IDC_STATIC,5,30,170,40
    PUSHBUTTON      "Form Editor",IDC_ABOUT_FORM_EDITOR,10,45,50,15
    PUSHBUTTON      "Form Viewer",IDC_ABOUT_FORM_VIEWER,65,45,50,15
    PUSHBUTTON      "Script Editor",IDC_ABOUT_SCRIPT_EDITOR,120,45,50,15
    CONTROL         "",IDC_FORMEDITOR,"{E78FC0E6-1C8E-11D6-B6A6-B864D14CD046}",
                    NOT WS_VISIBLE | WS_TABSTOP,10,60,50,10
    CONTROL         "",IDC_FORMVIEWER,"{E78FC0E8-1C8E-11D6-B6A6-B864D14CD046}",
                    NOT WS_VISIBLE | WS_TABSTOP,65,60,50,10
    CONTROL         "",IDC_SIMPLESCRIPTEDITOR,
                    "{3DCFDE22-143A-11D6-B6A6-AC960FFC5345}",NOT WS_VISIBLE | 
                    WS_TABSTOP,120,60,50,10
END

IDD_WELCOME DIALOG DISCARDABLE  0, 0, 212, 172
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Welcome"
FONT 8, "MS Sans Serif"
BEGIN
    LTEXT           "Welcome to the DaeDoe Forms Demonstration Application.",
                    IDC_STATIC,4,4,204,10
    LTEXT           "Please note that in addition to the files automatically installed by the setup program, it is recommended that the following files also be present on the system and registered using regsvr32.",
                    IDC_STATIC,4,20,204,28
    LTEXT           "Microsoft Windows Common Controls (MSCOMCTL.OCX)\nMicrosoft Windows Common Controls 2 (MSCOMCT2.OCX)",
                    IDC_STATIC,4,52,204,20
    LTEXT           "DaeDoe Forms in no way relies on the above files, however the demonstration application may try to insert controls into the form which exist in these libraries.",
                    IDC_STATIC,4,76,204,28
    LTEXT           "Please also be aware that DaeDoe Forms when running in evaluation mode limits the number of ActiveX controls which can be hosted by the form editor. When unlocked, the form editor can host an unlimited number of controls.",
                    IDC_STATIC,4,108,204,35
    CONTROL         136,IDC_STATIC,"Static",SS_BITMAP,4,148,122,20
    DEFPUSHBUTTON   "Continue",IDOK,168,152,40,15
END

IDD_SCRIPT_ERROR DIALOG DISCARDABLE  0, 0, 182, 86
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Script Error"
FONT 8, "MS Sans Serif"
BEGIN
    DEFPUSHBUTTON   "OK",IDOK,5,65,170,15
    EDITTEXT        IDC_EDIT,5,5,170,55,ES_MULTILINE | ES_AUTOHSCROLL | 
                    WS_VSCROLL
END

IDD_INSERT_ERROR DIALOGEX 0, 0, 224, 153
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Error"
FONT 8, "MS Sans Serif"
BEGIN
    LTEXT           "Unable to insert the ActiveX control identified as",
                    IDC_STATIC,4,4,216,10
    LTEXT           "ProgID : ???.???",IDC_PROGID,4,20,216,10
    LTEXT           "The most likely cause of this problem is that either the control is not available on the system, or the maximum number of controls which can be hosted by DaeDoe Forms when running in evaluation mode has been exceeded.",
                    IDC_STATIC,4,36,216,33
    LTEXT           "Use the toolbar button shown above to select from a list of controls available on the system.",
                    IDC_STATIC,4,108,216,20
    CONTROL         141,IDC_STATIC,"Static",SS_BITMAP,4,76,27,25,
                    WS_EX_CLIENTEDGE
    DEFPUSHBUTTON   "Continue",IDOK,4,132,216,14
END

IDD_GRID_SETTINGS DIALOG DISCARDABLE  0, 0, 186, 50
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Grid Settings"
FONT 8, "MS Sans Serif"
BEGIN
    LTEXT           "Enter the required grid dimensions",IDC_STATIC,5,5,110,
                    10
    LTEXT           "Width",IDC_STATIC,5,20,40,10
    EDITTEXT        IDC_GRID_WIDTH,5,30,50,15,ES_AUTOHSCROLL | ES_NUMBER
    LTEXT           "Height",IDC_STATIC,65,20,40,10
    EDITTEXT        IDC_GRID_HEIGHT,65,30,50,15,ES_AUTOHSCROLL | ES_NUMBER
    DEFPUSHBUTTON   "OK",IDOK,130,10,50,15
    PUSHBUTTON      "Cancel",IDCANCEL,130,30,50,15
END

IDD_PREVIEW DIALOG DISCARDABLE  0, 0, 176, 114
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
CAPTION "Preview"
FONT 8, "MS Sans Serif"
BEGIN
    CONTROL         "",IDC_FORMVIEWER,"{E78FC0E8-1C8E-11D6-B6A6-B864D14CD046}",
                    WS_TABSTOP,5,5,165,105
END

IDD_LOAD_ERROR DIALOG DISCARDABLE  0, 0, 212, 89
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Error"
FONT 8, "MS Sans Serif"
BEGIN
    LTEXT           "Unable to load the form.",IDC_STATIC,4,4,204,10
    LTEXT           "The most likely cause of this problem is that either one of the controls contained within the form is not available on the system, or the maximum number of controls which can be hosted by DaeDoe Forms when running in evaluation mode has been exceeded.",
                    IDC_STATIC,4,20,204,44
    DEFPUSHBUTTON   "Continue",IDOK,4,68,204,14
END


#ifndef _MAC
/////////////////////////////////////////////////////////////////////////////
//
// Version
//

VS_VERSION_INFO VERSIONINFO
 FILEVERSION 1,0,65535,65535
 PRODUCTVERSION 1,0,65535,65535
 FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
 FILEFLAGS 0x29L
#else
 FILEFLAGS 0x28L
#endif
 FILEOS 0x4L
 FILETYPE 0x1L
 FILESUBTYPE 0x0L
BEGIN
    BLOCK "StringFileInfo"
    BEGIN
        BLOCK "080904b0"
        BEGIN
            VALUE "Comments", "DaeDoe Forms Demonstration Application, Version 1.00\0"
            VALUE "CompanyName", "DaeDoe-Software\0"
            VALUE "FileDescription", "MFCDemo\0"
            VALUE "FileVersion", "1, 0, 65535,65535\0"
            VALUE "InternalName", "MFCDemo\0"
            VALUE "LegalCopyright", "Copyright � 2002 DaeDoe-Software\0"
            VALUE "LegalTrademarks", "None\0"
            VALUE "OriginalFilename", "MFCDemo.exe\0"
            VALUE "PrivateBuild", "None\0"
            VALUE "ProductName", "MFCDemo\0"
            VALUE "ProductVersion", "1, 0, 65535,65535\0"
            VALUE "SpecialBuild", "None\0"
        END
    END
    BLOCK "VarFileInfo"
    BEGIN
        VALUE "Translation", 0x809, 1200
    END
END

#endif    // !_MAC


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

#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO DISCARDABLE 
BEGIN
    IDD_ABOUTBOX, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 175
        TOPMARGIN, 7
        BOTTOMMARGIN, 69
    END

    IDD_WELCOME, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 205
        TOPMARGIN, 7
        BOTTOMMARGIN, 165
    END

    IDD_SCRIPT_ERROR, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 175
        TOPMARGIN, 7
        BOTTOMMARGIN, 79
    END

    IDD_INSERT_ERROR, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 217
        TOPMARGIN, 7
        BOTTOMMARGIN, 146
    END

    IDD_GRID_SETTINGS, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 179
        TOPMARGIN, 7
        BOTTOMMARGIN, 43
    END

    IDD_PREVIEW, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 169
        TOPMARGIN, 7
        BOTTOMMARGIN, 107
    END

    IDD_LOAD_ERROR, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 205
        TOPMARGIN, 7
        BOTTOMMARGIN, 82
    END
END
#endif    // APSTUDIO_INVOKED


/////////////////////////////////////////////////////////////////////////////
//
// Dialog Info
//

IDD_ABOUTBOX DLGINIT
BEGIN
    IDC_FORMEDITOR, 0x376, 90, 0
0x0000, 0x0000, 0x0700, 0x0000, 0x07c0, 0x0000, 0x01a7, 0x0000, 0x000b, 
0xffff, 0x0013, 0x0005, 0x8000, 0x0003, 0x00fa, 0x0000, 0x0003, 0x00c8, 
0x0000, 0x0013, 0x000f, 0x8000, 0x0013, 0x0012, 0x8000, 0x0003, 0x0008, 
0x0000, 0x0003, 0x0008, 0x0000, 0x000b, 0xffff, 0x0013, 0x000e, 0x8000, 
0x0013, 0x000d, 0x8000, 0x0013, 0x000d, 0x8000, 0x0013, 0x000e, 0x8000, 

    IDC_FORMVIEWER, 0x376, 26, 0
0x0000, 0x0000, 0x0700, 0x0000, 0x07c0, 0x0000, 0x01a7, 0x0000, 0x000b, 
0xffff, 0x0013, 0x000f, 0x8000, 
    IDC_SIMPLESCRIPTEDITOR, 0x376, 74, 0
0x0000, 0x0000, 0x0700, 0x0000, 0x07c0, 0x0000, 0x01a7, 0x0000, 0x000b, 
0xffff, 0x0013, 0x0005, 0x8000, 0x0013, 0x0008, 0x8000, 0x0009, 0x5203, 
0x0be3, 0x8f91, 0x11ce, 0xe39d, 0xaa00, 0x4b00, 0x51b8, 0x0101, 0x0000, 
0x0190, 0x3880, 0x0001, 0x4d0d, 0x2053, 0x6153, 0x736e, 0x5320, 0x7265, 
0x6669, 
    0
END

IDD_PREVIEW DLGINIT
BEGIN
    IDC_FORMVIEWER, 0x376, 26, 0
0x0000, 0x0000, 0x0700, 0x0000, 0x19a2, 0x0000, 0x11ac, 0x0000, 0x000b, 
0x0000, 0x0013, 0x000f, 0x8000, 
    0
END


/////////////////////////////////////////////////////////////////////////////
//
// Accelerator
//

IDR_MAINFRAME ACCELERATORS DISCARDABLE 
BEGIN
    "C",            ID_COPY,                VIRTKEY, CONTROL, NOINVERT
    "N",            ID_NEW,                 VIRTKEY, CONTROL, NOINVERT
    "O",            ID_OPEN,                VIRTKEY, CONTROL, NOINVERT
    "Q",            ID_VALIDATE_SCRIPT,     VIRTKEY, CONTROL, NOINVERT
    "S",            ID_SAVE,                VIRTKEY, CONTROL, NOINVERT
    "V",            ID_PASTE,               VIRTKEY, CONTROL, NOINVERT
    VK_DELETE,      ID_DELETE,              VIRTKEY, NOINVERT
    "X",            ID_CUT,                 VIRTKEY, CONTROL, NOINVERT
    "Y",            ID_REDO,                VIRTKEY, CONTROL, NOINVERT
    "Z",            ID_UNDO,                VIRTKEY, CONTROL, NOINVERT
END


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

STRINGTABLE DISCARDABLE 
BEGIN
    IDP_OLE_INIT_FAILED     "OLE initialization failed.  Make sure that the OLE libraries are the correct version."
END

STRINGTABLE PRELOAD DISCARDABLE 
BEGIN
    IDR_MAINFRAME           "DaeDoe Forms Demonstration Application\nForm\nForm\nDaeDoe Forms (*.ddf)\n.ddf\nMFCDemo.Document\nMFCDemo Document"
END

STRINGTABLE PRELOAD DISCARDABLE 
BEGIN
    AFX_IDS_APP_TITLE       "MFCDemo"
    AFX_IDS_IDLEMESSAGE     "Ready"
END

STRINGTABLE DISCARDABLE 
BEGIN
    ID_INDICATOR_EXT        "EXT"
    ID_INDICATOR_CAPS       "CAP"
    ID_INDICATOR_NUM        "NUM"
    ID_INDICATOR_SCRL       "SCRL"
    ID_INDICATOR_OVR        "OVR"
    ID_INDICATOR_REC        "REC"
END

STRINGTABLE DISCARDABLE 
BEGIN
    ID_FILE_NEW             "Create a new document\nNew"
    ID_FILE_OPEN            "Open an existing document\nOpen"
    ID_FILE_CLOSE           "Close the active document\nClose"
    ID_FILE_SAVE            "Save the active document\nSave"
    ID_FILE_SAVE_AS         "Save the active document with a new name\nSave As"
    ID_FILE_PAGE_SETUP      "Change the printing options\nPage Setup"
    ID_FILE_PRINT_SETUP     "Change the printer and printing options\nPrint Setup"
    ID_FILE_PRINT           "Print the active document\nPrint"
    ID_FILE_PRINT_PREVIEW   "Display full pages\nPrint Preview"
END

STRINGTABLE DISCARDABLE 
BEGIN
    ID_APP_ABOUT            "Display program information, version number and copyright\nAbout"
    ID_APP_EXIT             "Quit the application; prompts to save documents\nExit"
END

STRINGTABLE DISCARDABLE 
BEGIN
    ID_FILE_MRU_FILE1       "Open this document"
    ID_FILE_MRU_FILE2       "Open this document"
    ID_FILE_MRU_FILE3       "Open this document"
    ID_FILE_MRU_FILE4       "Open this document"
    ID_FILE_MRU_FILE5       "Open this document"
    ID_FILE_MRU_FILE6       "Open this document"
    ID_FILE_MRU_FILE7       "Open this document"
    ID_FILE_MRU_FILE8       "Open this document"
    ID_FILE_MRU_FILE9       "Open this document"
    ID_FILE_MRU_FILE10      "Open this document"
    ID_FILE_MRU_FILE11      "Open this document"
    ID_FILE_MRU_FILE12      "Open this document"
    ID_FILE_MRU_FILE13      "Open this document"
    ID_FILE_MRU_FILE14      "Open this document"
    ID_FILE_MRU_FILE15      "Open this document"
    ID_FILE_MRU_FILE16      "Open this document"
END

STRINGTABLE DISCARDABLE 
BEGIN
    ID_NEXT_PANE            "Switch to the next window pane\nNext Pane"
    ID_PREV_PANE            "Switch back to the previous window pane\nPrevious Pane"
END

STRINGTABLE DISCARDABLE 
BEGIN
    ID_WINDOW_SPLIT         "Split the active window into panes\nSplit"
END

STRINGTABLE DISCARDABLE 
BEGIN
    ID_EDIT_CLEAR           "Erase the selection\nErase"
    ID_EDIT_CLEAR_ALL       "Erase everything\nErase All"
    ID_EDIT_COPY            "Copy the selection and put it on the Clipboard\nCopy"
    ID_EDIT_CUT             "Cut the selection and put it on the Clipboard\nCut"
    ID_EDIT_FIND            "Find the specified text\nFind"
    ID_EDIT_PASTE           "Insert Clipboard contents\nPaste"
    ID_EDIT_REPEAT          "Repeat the last action\nRepeat"
    ID_EDIT_REPLACE         "Replace specific text with different text\nReplace"
    ID_EDIT_SELECT_ALL      "Select the entire document\nSelect All"
    ID_EDIT_UNDO            "Undo the last action\nUndo"
    ID_EDIT_REDO            "Redo the previously undone action\nRedo"
END

STRINGTABLE DISCARDABLE 
BEGIN
    ID_VIEW_TOOLBAR         "Show or hide the toolbar\nToggle ToolBar"
    ID_VIEW_STATUS_BAR      "Show or hide the status bar\nToggle StatusBar"
END

STRINGTABLE DISCARDABLE 
BEGIN
    AFX_IDS_SCSIZE          "Change the window size"
    AFX_IDS_SCMOVE          "Change the window position"
    AFX_IDS_SCMINIMIZE      "Reduce the window to an icon"
    AFX_IDS_SCMAXIMIZE      "Enlarge the window to full size"
    AFX_IDS_SCNEXTWINDOW    "Switch to the next document window"
    AFX_IDS_SCPREVWINDOW    "Switch to the previous document window"
    AFX_IDS_SCCLOSE         "Close the active window and prompts to save the documents"
END

STRINGTABLE DISCARDABLE 
BEGIN
    AFX_IDS_SCRESTORE       "Restore the window to normal size"
    AFX_IDS_SCTASKLIST      "Activate Task List"
END

STRINGTABLE DISCARDABLE 
BEGIN
    AFX_IDS_PREVIEW_CLOSE   "Close print preview mode\nCancel Preview"
END

STRINGTABLE DISCARDABLE 
BEGIN
    ID_NEW                  "Create a new form\nNew [Ctrl+N]"
    ID_OPEN                 "Open an existing form\nOpen [Ctrl+O]"
    ID_SAVE                 "Save the current form\nSave [Ctrl+S]"
    ID_CUT                  "Cut the current selection to the clipboard\nCut [Ctrl+X]"
    ID_COPY                 "Copy the current selection to the clipboard\nCopy [Ctrl+C]"
    ID_PASTE                "Paste the contents of the clipboard into the form\nPaste [Ctrl+V]"
    ID_UNDO                 "Undo the last operation\nUndo [Ctrl+Z]"
    ID_REDO                 "Redo the last undo\nRedo [Ctrl+Y]"
    ID_ABOUT                "Display the about box\nAbout"
    ID_FRAME                "Insert a frame\nFrame"
    ID_RECTANGLE            "Insert a rectangle\nRectangle"
    ID_PICTURE              "Insert a picture\nPicture"
    ID_TEXT                 "Insert a text box\nText Box"
END

STRINGTABLE DISCARDABLE 
BEGIN
    ID_UNSELECT_ALL         "Unselect all items\nUnselect All"
    ID_PROPERTIES           "Show the properties dialog for the current selection\nProperties"
    ID_LEFT                 "Move selected items left by a single pixel\nLeft"
    ID_RIGHT                "Move selected items right by a single pixel\nRight"
    ID_UP                   "Move selected items up by a single pixel\nUp"
    ID_DOWN                 "Move selected items down by a single pixel\nDown"
    ID_ALIGN_LEFT           "Align selected items to the left most\nAlign Left"
    ID_ALIGN_RIGHT          "Align selected items to the right most\nAlign Right"
    ID_ALIGN_TOP            "Align selected items to the top most\nAlign Top"
    ID_ALIGN_BOTTOM         "Align selected items to the bottom most\nAlign Bottom"
    ID_SPACE_HORZ           "Space selected items horizontally\nSpace Horz"
    ID_SPACE_VERT           "Space selected items vertically\nSpace Vert"
    ID_SIZE_LARGEST_WIDTH   "Size selected items to the largest width\nSize Largest Width"
    ID_SIZE_LARGEST_HEIGHT  "Size selected items to the largest height\nSize Largest Height"
    ID_SIZE_LARGEST         "Size selected items to the largest\nSize Largest"
    ID_SIZE_SMALLEST_WIDTH  "Size selected items to the smallest width\nSize Smallest Width"
END

STRINGTABLE DISCARDABLE 
BEGIN
    ID_BUTTON               "Insert a button\nButton"
    ID_CHECK                "Insert a check box\nCheck Box"
    ID_RADIO                "Insert a radio button\nRadio Button"
    ID_COMBO                "Insert a combo box\nCombo Box"
    ID_LIST                 "Insert a list box\nList Box"
    ID_SPIN                 "Insert a spin control\nSpin Control"
    ID_SLIDER               "Insert a slider control\nSlider Control"
    ID_PROGRESS             "Insert a progress bar control\nProgress Bar Control"
    ID_ACTIVEX              "Insert an ActiveX control\nOther ActiveX Control"
    ID_DELETE               "Delete the currently selected items\nDelete [Del]"
    ID_GRID                 "Toggle the grid\nToggle Grid"
    ID_GRID_SETTINGS        "Show the grid settings dialog\nGrid Settings"
    ID_TAB                  "Switch the form editor into tab ordering mode\nSet Tab Order"
    ID_SELECT_ALL           "Select all items\nSelect All"
END

STRINGTABLE DISCARDABLE 
BEGIN
    ID_SIZE_SMALLEST_HEIGHT "Size selected items to the smallest height\nSize Smallest Height"
    ID_SIZE_SMALLEST        "Size selected items to the smallest\nSize Smallest"
    ID_CENTER_HORZ          "Align selected items to the form horizontal center\nCenter Horz"
    ID_CENTER_VERT          "Align selected items to the form vertical center\nCenter Vert"
    ID_CENTER               "Align selected items to the form center\nCenter"
    ID_VALIDATE_SCRIPT      "Check the script for errors\nValidate Script [Ctrl+Q]"
    ID_PREVIEW_AUTO_SIZE    "Show an auto sized  preview of the form\nPreview (Auto Sizing)"
    ID_PREVIEW              "Show a preview of the form\nPreview (None Auto Sizing)"
END

STRINGTABLE DISCARDABLE 
BEGIN
    ID_LAYOUT_SENDTOBACK    "Move selected items to the back of all other items\nSend To Back"
    ID_LAYOUT_BRINGTOFRONT  "Move selected items to the front of all other items\nBring To Front"
    ID_LABEL                "Insert a label\nLabel"
END

STRINGTABLE DISCARDABLE 
BEGIN
    ID_HSCROLL              "Insert a horizontal scrollbar\nHorizontal Scrollbar"
    ID_VSCROLL              "Insert a vertical scrollbar\nVertical Scrollbar"
    ID_SAVE_AS              "Save the current form with a new name\nSave As"
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 //_WIN32
#include "res\MFCDemo.rc2"  // non-Microsoft Visual C++ edited resources
#include "afxres.rc"         // Standard components
#include "afxprint.rc"       // printing/print preview resources
#endif

/////////////////////////////////////////////////////////////////////////////
#endif    // not APSTUDIO_INVOKED

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

DaveShep
Web Developer
United Kingdom United Kingdom
No Biography provided

You may also be interested in...

Permalink | Advertise | Privacy | Cookies | Terms of Use | Mobile
Web01 | 2.8.190518.1 | Last Updated 1 Aug 2009
Article Copyright 2005 by DaveShep
Everything else Copyright © CodeProject, 1999-2019
Layout: fixed | fluid