Click here to Skip to main content
Click here to Skip to main content
Articles » Multimedia » OpenGL » General » Downloads
 
Add your own
alternative version

Basic Curves And Surfaces Modeler

, 18 Apr 2012
A basic demo of modeling curves and surfaces in OpenGL.
cadsurfexe.zip
CadSurfexe
CadSurf.exe
VKGeom.dll
VKGraphic.dll
cadsurf_demo.zip
cadsurf_src.zip
CadSurf_src
VKernel
VKGraphic
VKGraphic.dsp
VKGraphic.dsw
VKGraphic.plg
VKGeom
VKGeom.dsp
VKGeom.dsw
cadsurf
CadSurf.clw
CadSurf.dsp
cadsurf.dsw
Thumbs.db
res
bmp00001.bmp
cadsurf.ico
CADSURFDOC.ICO
new_splash.bmp
new_splash.PNG
new_splash_small.bmp
tb_geom.bmp
Thumbs.db
toolbar.bmp
toolbar1.bmp
untitled.bmp
XPStyle.manifest
CadSurf_VS2008.zip
CadSurf
cadsurf
CadSurf.suo
res
bmp00001.bmp
cadsurf.ico
CADSURFDOC.ICO
new_splash.bmp
new_splash.PNG
new_splash_small.bmp
tb_geom.bmp
Thumbs.db
toolbar.bmp
toolbar1.bmp
untitled.bmp
VKernel
VKGeom
VKGraphic
VKGraphic.plg
//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.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

#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\\CadSurf.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\\CadSurf.ico"
IDR_CADSURTYPE          ICON    DISCARDABLE     "res\\CadSurfDoc.ico"

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

IDR_MAINFRAME           BITMAP  MOVEABLE PURE   "res\\Toolbar.bmp"
IDR_TB_GEOM             BITMAP  DISCARDABLE     "res\\tb_geom.bmp"
IDR_CHILDFRAME          BITMAP  DISCARDABLE     "res\\toolbar1.bmp"
IDR_TB_TRN              BITMAP  DISCARDABLE     "res\\bmp00001.bmp"
IDB_SPLASH              BITMAP  DISCARDABLE     "res\\new_splash.bmp"
IDB_SMALLSPLASH         BITMAP  DISCARDABLE     "res\\new_splash_small.bmp"

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

IDR_MAINFRAME TOOLBAR DISCARDABLE  16, 15
BEGIN
    BUTTON      ID_FILE_NEW
    BUTTON      ID_FILE_OPEN
    BUTTON      ID_FILE_SAVE
    SEPARATOR
    BUTTON      ID_FILE_PRINT_PREVIEW
    BUTTON      ID_FILE_PRINT
    SEPARATOR
    BUTTON      ID_APP_ABOUT
END

IDR_TB_GEOM TOOLBAR DISCARDABLE  16, 16
BEGIN
    BUTTON      ID_POINTS
    BUTTON      ID_LINES
    BUTTON      ID_CIRCLES
    BUTTON      ID_ELLIPSE
    BUTTON      ID_PARABOLA
    BUTTON      ID_HYPERBOLA
    SEPARATOR
    BUTTON      ID_BEZIER
    BUTTON      ID_BSPLINE
    BUTTON      ID_HELIX
    BUTTON      ID_OFFSETCURVE
    SEPARATOR
    BUTTON      ID_PLANE
    BUTTON      ID_CYLINDER
    BUTTON      ID_CONE
    BUTTON      ID_SPHERE
    BUTTON      ID_TORUS
    SEPARATOR
    BUTTON      ID_EXTSURF
    BUTTON      ID_REVSURF
    BUTTON      ID_RULEDSURF
    BUTTON      ID_PIPE
    BUTTON      ID_OFFSETSURFACE
    BUTTON      ID_USERSURFACE
END

IDR_CHILDFRAME TOOLBAR DISCARDABLE  18, 18
BEGIN
    BUTTON      ID_TOPVIEW
    BUTTON      ID_BOTTOMVIEW
    BUTTON      ID_FRONTVIEW
    BUTTON      ID_BACKVIEW
    BUTTON      ID_LEFTVIEW
    BUTTON      ID_RIGHTVIEW
    BUTTON      ID_AXONVIEW
    SEPARATOR
    BUTTON      ID_PROJECTION_TYPE
    SEPARATOR
    BUTTON      ID_MULTIFOUR
    SEPARATOR
    BUTTON      ID_FITALL
    BUTTON      ID_ZOOMWIN
    SEPARATOR
    BUTTON      ID_RESETVIEW
    SEPARATOR
    BUTTON      ID_DISPLAYMODE
    BUTTON      ID_HLREMOVED
    BUTTON      ID_ANTIALIAS
    SEPARATOR
    BUTTON      ID_SNAPSHOT
END

IDR_TB_TRN TOOLBAR DISCARDABLE  16, 15
BEGIN
    BUTTON      ID_TRANSLATE
    BUTTON      ID_ROTATE
    BUTTON      ID_SCALE
    BUTTON      ID_REFLECT
END


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

IDR_MAINFRAME MENU PRELOAD DISCARDABLE 
BEGIN
    POPUP "&File"
    BEGIN
        MENUITEM "&New\tCtrl+N",                ID_FILE_NEW
        MENUITEM "&Open...\tCtrl+O",            ID_FILE_OPEN
        MENUITEM SEPARATOR
        MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
        MENUITEM SEPARATOR
        MENUITEM "Recent File",                 ID_FILE_MRU_FILE1, GRAYED
        MENUITEM SEPARATOR
        MENUITEM "E&xit",                       ID_APP_EXIT
    END
    POPUP "&View"
    BEGIN
        MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
        MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
    END
    POPUP "&Help"
    BEGIN
        MENUITEM "Help And &About CadSurf...",  ID_APP_ABOUT
    END
END

IDR_CADSURTYPE MENU PRELOAD DISCARDABLE 
BEGIN
    POPUP "&File"
    BEGIN
        MENUITEM "&New\tCtrl+N",                ID_FILE_NEW
        MENUITEM "&Open...\tCtrl+O",            ID_FILE_OPEN
        MENUITEM "&Close",                      ID_FILE_CLOSE
        MENUITEM "&Save\tCtrl+S",               ID_FILE_SAVE
        MENUITEM "Save &As...",                 ID_FILE_SAVE_AS
        MENUITEM SEPARATOR
        MENUITEM "&Print...\tCtrl+P",           ID_FILE_PRINT
        MENUITEM "Print Pre&view",              ID_FILE_PRINT_PREVIEW
        MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
        MENUITEM SEPARATOR
        MENUITEM "Recent File",                 ID_FILE_MRU_FILE1, GRAYED
        MENUITEM SEPARATOR
        MENUITEM "E&xit",                       ID_APP_EXIT
    END
    POPUP "&Edit"
    BEGIN
        MENUITEM "&Delete All",                 ID_EDIT_DELETEALL
        MENUITEM "Delete Selected",             ID_EDIT_DELETESELECTED
        MENUITEM SEPARATOR
        MENUITEM "&Undo\tCtrl+Z",               ID_EDIT_UNDO
        MENUITEM SEPARATOR
        MENUITEM "Cu&t\tCtrl+X",                ID_EDIT_CUT
        MENUITEM "&Copy\tCtrl+C",               ID_EDIT_COPY
        MENUITEM "&Paste\tCtrl+V",              ID_EDIT_PASTE
    END
    POPUP "&View"
    BEGIN
        MENUITEM "Display All",                 ID_VIEW_DISPLAYALL
        MENUITEM "Display Selected",            ID_VIEW_DISPLAYSELECTED
        MENUITEM "Erase All",                   ID_VIEW_ERASEALL
        MENUITEM "Erase Selected",              ID_VIEW_ERASESELECTED
        MENUITEM SEPARATOR
        MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
        MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
    END
    POPUP "Preferences"
    BEGIN
        POPUP "DisplayMode"
        BEGIN
            MENUITEM "Shaded",                      ID_PREFERENCES_DISPLAYMODE_SHADED

            MENUITEM "Wireframe",                   ID_PREFERENCES_DISPLAYMODE_WIREFRAME

            MENUITEM "HL Removed",                  ID_HLREMOVED
        END
        MENUITEM "Color",                       ID_PREFERENCES_COLOR
        MENUITEM "Material",                    ID_PREFERENCES_MATERIAL
        POPUP "Line Style"
        BEGIN
            MENUITEM "Solid",                       ID_PREFERENCES_LINESTYLE_SOLID

            MENUITEM "Dotted",                      ID_PREFERENCES_LINESTYLE_DOTTED

            MENUITEM "Dashed",                      ID_PREFERENCES_LINESTYLE_DASHED

            MENUITEM "Dashed-dotted",               ID_PREFERENCES_LINESTYLE_DASHEDDOTTED

        END
        MENUITEM SEPARATOR
        POPUP "Grid"
        BEGIN
            MENUITEM "ON",                          ID_PREFERENCES_GRID_ON
            MENUITEM "Settings",                    ID_PREFERENCES_GRID_SETTINGS

        END
        MENUITEM SEPARATOR
        MENUITEM "Background Color",            ID_PREFERENCES_BACKGROUNDCOLOR

    END
    POPUP "&Window"
    BEGIN
        MENUITEM "&New Window",                 ID_WINDOW_NEW
        MENUITEM "&Cascade",                    ID_WINDOW_CASCADE
        MENUITEM "&Tile",                       ID_WINDOW_TILE_HORZ
        MENUITEM "&Arrange Icons",              ID_WINDOW_ARRANGE
    END
    POPUP "&Help"
    BEGIN
        MENUITEM "Help And &About CadSurf...",  ID_APP_ABOUT
    END
END


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

IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE 
BEGIN
    "A",            ID_AXONVIEW,            VIRTKEY, CONTROL, NOINVERT
    "B",            ID_BOTTOMVIEW,          VIRTKEY, CONTROL, NOINVERT
    "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL, NOINVERT
    "F",            ID_FRONTVIEW,           VIRTKEY, CONTROL, NOINVERT
    "H",            ID_HLREMOVED,           VIRTKEY, CONTROL, NOINVERT
    "L",            ID_LEFTVIEW,            VIRTKEY, CONTROL, NOINVERT
    "N",            ID_FILE_NEW,            VIRTKEY, CONTROL, NOINVERT
    "O",            ID_FILE_OPEN,           VIRTKEY, CONTROL, NOINVERT
    "P",            ID_FILE_PRINT,          VIRTKEY, CONTROL, NOINVERT
    "R",            ID_BACKVIEW,            VIRTKEY, CONTROL, NOINVERT
    "R",            ID_RIGHTVIEW,           VIRTKEY, SHIFT, CONTROL, 
                                                    NOINVERT
    "S",            ID_FILE_SAVE,           VIRTKEY, CONTROL, NOINVERT
    "T",            ID_TOPVIEW,             VIRTKEY, CONTROL, NOINVERT
    "V",            ID_EDIT_PASTE,          VIRTKEY, CONTROL, NOINVERT
    VK_BACK,        ID_EDIT_UNDO,           VIRTKEY, ALT, NOINVERT
    VK_DELETE,      ID_EDIT_CUT,            VIRTKEY, SHIFT, NOINVERT
    VK_F2,          ID_FITALL,              VIRTKEY, NOINVERT
    VK_F6,          ID_NEXT_PANE,           VIRTKEY, NOINVERT
    VK_F6,          ID_PREV_PANE,           VIRTKEY, SHIFT, NOINVERT
    VK_HOME,        ID_RESETVIEW,           VIRTKEY, NOINVERT
    VK_INSERT,      ID_EDIT_COPY,           VIRTKEY, CONTROL, NOINVERT
    VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY, SHIFT, NOINVERT
    "X",            ID_EDIT_CUT,            VIRTKEY, CONTROL, NOINVERT
    "Z",            ID_EDIT_UNDO,           VIRTKEY, CONTROL, NOINVERT
END


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

IDD_ABOUTBOX DIALOGEX 0, 0, 182, 302
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "                      About CadSurf"
FONT 8, "MS Sans Serif"
BEGIN
    CONTROL         143,IDC_STATIC,"Static",SS_BITMAP | SS_REALSIZEIMAGE | 
                    WS_BORDER,6,2,171,132,WS_EX_DLGMODALFRAME
    DEFPUSHBUTTON   "OK",IDOK,7,276,168,20,WS_GROUP
    EDITTEXT        IDC_EDIT1,7,139,168,130,ES_MULTILINE | ES_READONLY | 
                    WS_VSCROLL
END

IDD_MATLDLG DIALOGEX 0, 0, 142, 151
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_TOOLWINDOW
CAPTION "                    Materials Dialog"
FONT 8, "MS Sans Serif", 0, 0, 0x1
BEGIN
    DEFPUSHBUTTON   "OK",IDOK,19,133,50,14
    PUSHBUTTON      "Cancel",IDCANCEL,75,133,50,14
    CONTROL         "Aluminium",IDC_ALUM,"Button",BS_AUTORADIOBUTTON | 
                    BS_PUSHLIKE | BS_MULTILINE | BS_FLAT,5,3,43,18
    CONTROL         "Brass",IDC_BRASS,"Button",BS_AUTORADIOBUTTON | 
                    BS_PUSHLIKE | BS_MULTILINE | BS_FLAT,49,3,43,18
    CONTROL         "P Bronze",IDC_PBRONZE,"Button",BS_AUTORADIOBUTTON | 
                    BS_PUSHLIKE | BS_MULTILINE | BS_FLAT,5,21,43,18
    CONTROL         "Chrome",IDC_CHROME,"Button",BS_AUTORADIOBUTTON | 
                    BS_PUSHLIKE | BS_MULTILINE | BS_FLAT,49,57,43,18
    CONTROL         "P Copper",IDC_PCOPPER,"Button",BS_AUTORADIOBUTTON | 
                    BS_PUSHLIKE | BS_MULTILINE | BS_FLAT,93,21,43,18
    CONTROL         "Gold",IDC_GOLD,"Button",BS_AUTORADIOBUTTON | 
                    BS_PUSHLIKE | BS_MULTILINE | BS_FLAT,5,39,43,18
    CONTROL         "Pewter",IDC_PEWTER,"Button",BS_AUTORADIOBUTTON | 
                    BS_PUSHLIKE | BS_MULTILINE | BS_FLAT,5,111,43,18
    CONTROL         "Silver",IDC_SILVER,"Button",BS_AUTORADIOBUTTON | 
                    BS_PUSHLIKE | BS_MULTILINE | BS_FLAT,93,39,43,18
    CONTROL         "Steel",IDC_STEEL,"Button",BS_AUTORADIOBUTTON | 
                    BS_PUSHLIKE | BS_MULTILINE | BS_FLAT,93,57,43,18
    CONTROL         "Emerald",IDC_EMERALD,"Button",BS_AUTORADIOBUTTON | 
                    BS_PUSHLIKE | BS_MULTILINE | BS_FLAT,5,75,43,18
    CONTROL         "Obsidian",IDC_OBSIDIAN,"Button",BS_AUTORADIOBUTTON | 
                    BS_PUSHLIKE | BS_MULTILINE | BS_FLAT,93,75,43,18
    CONTROL         "Pearl",IDC_PEARL,"Button",BS_AUTORADIOBUTTON | 
                    BS_PUSHLIKE | BS_MULTILINE | BS_FLAT,49,93,43,18
    CONTROL         "Turquoise",IDC_TURQUOISE,"Button",BS_AUTORADIOBUTTON | 
                    BS_PUSHLIKE | BS_MULTILINE | BS_FLAT,93,93,43,18
    CONTROL         "Plastic",IDC_BPLASTIC,"Button",BS_AUTORADIOBUTTON | 
                    BS_PUSHLIKE | BS_MULTILINE | BS_FLAT,93,111,43,18
    CONTROL         "Bronze",IDC_BRONZE,"Button",BS_AUTORADIOBUTTON | 
                    BS_PUSHLIKE | BS_MULTILINE | BS_FLAT,93,3,43,18
    CONTROL         "Copper",IDC_COPPER,"Button",BS_AUTORADIOBUTTON | 
                    BS_PUSHLIKE | BS_MULTILINE | BS_FLAT,49,21,43,18
    CONTROL         "P Gold",IDC_PGOLD,"Button",BS_AUTORADIOBUTTON | 
                    BS_PUSHLIKE | BS_MULTILINE | BS_FLAT,49,39,43,18
    CONTROL         "P Silver",IDC_PSILVER,"Button",BS_AUTORADIOBUTTON | 
                    BS_PUSHLIKE | BS_MULTILINE | BS_FLAT,5,57,43,18
    CONTROL         "Jade",IDC_JADE,"Button",BS_AUTORADIOBUTTON | 
                    BS_PUSHLIKE | BS_MULTILINE | BS_FLAT,49,75,43,18
    CONTROL         "Ruby",IDC_RUBY,"Button",BS_AUTORADIOBUTTON | 
                    BS_PUSHLIKE | BS_MULTILINE | BS_FLAT,5,93,43,18
    CONTROL         "Rubber",IDC_BRUBBER,"Button",BS_AUTORADIOBUTTON | 
                    BS_PUSHLIKE | BS_MULTILINE | BS_FLAT,49,111,43,18
END

IDD_GRID DIALOG DISCARDABLE  0, 0, 124, 145
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Grid Settings"
FONT 8, "MS Sans Serif"
BEGIN
    DEFPUSHBUTTON   "OK",IDOK,10,123,45,14
    PUSHBUTTON      "Cancel",IDCANCEL,65,123,45,14
    CTEXT           "Grid Size",IDC_STATIC,11,7,37,16,SS_CENTERIMAGE
    CTEXT           "DX",IDC_STATIC,15,56,25,16,SS_CENTERIMAGE
    CTEXT           "Grid Step",IDC_STATIC,11,25,37,16,SS_CENTERIMAGE
    CTEXT           "DY",IDC_STATIC,15,75,25,16,SS_CENTERIMAGE
    CTEXT           "DZ",IDC_STATIC,15,95,25,16,SS_CENTERIMAGE
    GROUPBOX        "Grid Plane Normal",IDC_STATIC,11,44,100,75
    EDITTEXT        IDC_EDIT1,51,7,61,16,ES_AUTOHSCROLL
    CONTROL         "Spin1",IDC_SPIN1,"msctls_updown32",UDS_SETBUDDYINT | 
                    UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | 
                    UDS_NOTHOUSANDS,101,7,11,15
    EDITTEXT        IDC_EDIT2,51,26,61,16,ES_AUTOHSCROLL
    CONTROL         "Spin1",IDC_SPIN2,"msctls_updown32",UDS_SETBUDDYINT | 
                    UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | 
                    UDS_NOTHOUSANDS,101,26,11,15
    EDITTEXT        IDC_EDIT3,44,56,61,16,ES_AUTOHSCROLL
    CONTROL         "Spin1",IDC_SPIN3,"msctls_updown32",UDS_SETBUDDYINT | 
                    UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | 
                    UDS_NOTHOUSANDS,94,56,11,16
    EDITTEXT        IDC_EDIT4,44,75,61,16,ES_AUTOHSCROLL
    CONTROL         "Spin1",IDC_SPIN4,"msctls_updown32",UDS_SETBUDDYINT | 
                    UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | 
                    UDS_NOTHOUSANDS,94,75,11,16
    EDITTEXT        IDC_EDIT5,44,95,61,16,ES_AUTOHSCROLL
    CONTROL         "Spin1",IDC_SPIN5,"msctls_updown32",UDS_SETBUDDYINT | 
                    UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | 
                    UDS_NOTHOUSANDS,94,95,11,16
END

CG_IDD_MYDIALOGBAR DIALOG DISCARDABLE  0, 0, 96, 200
STYLE WS_CHILD
FONT 8, "MS Sans Serif"
BEGIN
END


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

VS_VERSION_INFO VERSIONINFO
 FILEVERSION 2,0,0,0
 PRODUCTVERSION 2,0,0,0
 FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
 FILEFLAGS 0x1L
#else
 FILEFLAGS 0x0L
#endif
 FILEOS 0x4L
 FILETYPE 0x1L
 FILESUBTYPE 0x0L
BEGIN
    BLOCK "StringFileInfo"
    BEGIN
        BLOCK "040904b0"
        BEGIN
            VALUE "Comments", "\0"
            VALUE "CompanyName", "N .Sharjith\0"
            VALUE "FileDescription", "CadSurf MFC Application\0"
            VALUE "FileVersion", "2, 0, 0, 0\0"
            VALUE "InternalName", "CadSurf\0"
            VALUE "LegalCopyright", "Copyright (C) 2002 - 2003 N. Sharjith\0"
            VALUE "LegalTrademarks", "\0"
            VALUE "OriginalFilename", "CadSurf.EXE\0"
            VALUE "PrivateBuild", "\0"
            VALUE "ProductName", "CadSurf Application\0"
            VALUE "ProductVersion", "2, 0, 0, 0\0"
            VALUE "SpecialBuild", "\0"
        END
    END
    BLOCK "VarFileInfo"
    BEGIN
        VALUE "Translation", 0x409, 1200
    END
END

#endif    // !_MAC


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

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

    IDD_MATLDLG, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 135
        TOPMARGIN, 7
        BOTTOMMARGIN, 144
    END

    IDD_GRID, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 117
        TOPMARGIN, 7
        BOTTOMMARGIN, 138
    END
END
#endif    // APSTUDIO_INVOKED


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

STRINGTABLE DISCARDABLE 
BEGIN
    ID_INDICATOR_COORD      "Coord"
    ID_INDICATOR_DATE       "Date"
    IDP_SOCKETS_INIT_FAILED "Windows sockets initialization failed."
    ID_INDICATOR_TIME       "Time"
END

STRINGTABLE PRELOAD DISCARDABLE 
BEGIN
    IDR_MAINFRAME           "CadSurf 2.0"
    IDR_CADSURTYPE          "\nCadSur\nCSurf\n\n.srf\nCadSurf.Document\nCadSurf Document"
END

STRINGTABLE PRELOAD DISCARDABLE 
BEGIN
    AFX_IDS_APP_TITLE       "CadSurf"
    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_NEW           "Open another window for the active document\nNew Window"
    ID_WINDOW_ARRANGE       "Arrange icons at the bottom of the window\nArrange Icons"
    ID_WINDOW_CASCADE       "Arrange windows so they overlap\nCascade Windows"
    ID_WINDOW_TILE_HORZ     "Arrange windows as non-overlapping tiles\nTile Windows"
    ID_WINDOW_TILE_VERT     "Arrange windows as non-overlapping tiles\nTile Windows"
    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"
    AFX_IDS_MDICHILD        "Activate this window"
END

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

STRINGTABLE DISCARDABLE 
BEGIN
    ID_POINTS               "Create Points\nPoints"
    ID_LINES                "Create Lines\nLines"
    ID_CIRCLES              "Create Circles\nCircles"
    ID_ELLIPSE              "Create Ellipse\nEllipse"
    ID_PARABOLA             "Create Parabola\nParabola"
    ID_HYPERBOLA            "Create Hyperbola\nHyperbola"
    ID_BEZIER               "Create Bezier Curve\nBezier Curve"
    ID_BSPLINE              "Create B-Spline Curve\nB-Spline Curve"
    ID_EXTSURF              "Create Extruded Surface\nExtruded Surface"
END

STRINGTABLE DISCARDABLE 
BEGIN
    ID_REVSURF              "Create Revolved Surface\nRevolved Surface"
    ID_RULEDSURF            "Create Ruled Surface\nRuled Surface"
    ID_TOPVIEW              "Display The Top View\nTop 'Ctrl+T'"
    ID_BOTTOMVIEW           "Display The Bottom View\nBottom 'Ctrl+B'"
    ID_FRONTVIEW            "Display The Front View\nFront 'Ctrl+F'"
    ID_BACKVIEW             "Display The Rear View\nRear 'Ctrl+R'"
    ID_LEFTVIEW             "Display The Left View\nLeft 'Ctrl+L'"
    ID_RIGHTVIEW            "Display The Right View\nRight 'Ctrl+Shift+R'"
    ID_AXONVIEW             "Display The Axonometric View\nAxon 'Ctrl+A'"
    ID_FITALL               "Fits The View To The Screen\nFit All 'F2'"
    ID_ZOONWIN              "Zooms The View Defined By A Window\nZoom Window"
    ID_RESETVIEW            "Resets The View\nReset 'Home'"
    ID_ZOOMWIN              "Zooms The View Defined By A Window\nWindow Zoom"
    ID_PLANE                "Create A Plane \nPlane"
    ID_CYLINDER             "Create A Cylinderical Surface\nCylinder"
END

STRINGTABLE DISCARDABLE 
BEGIN
    ID_CONE                 "Create A Conical Surface\nCone"
    ID_SPHERE               "Create A Spherical Surface\nSphere"
    ID_TORUS                "Create A Toroidal Surface\nTorus"
    ID_PIPE                 "Create A Pipe Surface\nPipe"
    ID_TRANSLATE            "Translation\nTranslate"
    ID_ROTATE               "Rotation\nRotate"
    ID_SCALE                "Scaling\nScale"
    ID_REFLECT              "Reflection(Mirroring)\nReflect"
    ID_DISPLAYMODE          "Toggle Display Mode\nToggle Display Mode"
    ID_EDIT_DELETEALL       "Deletes All The Objects In The Display Context;"
    ID_VIEW_DISPLAYALL      "Display All Objects In Context"
    ID_VIEW_ERASEALL        "Erase All Objects In Context"
    ID_PREFERENCES_DISPLAYMODE_SHADED "Display Objects In Shaded Mode"
    ID_PREFERENCES_DISPLAYMODE_WIREFRAME "Display Objects In Wireframe Mode"
    ID_PREFERENCES_MATERIAL "Set The Material Of The Selected Object"
    ID_VIEW_DISPLAYSELECTED "Displays Only Selected Object(s)"
END

STRINGTABLE DISCARDABLE 
BEGIN
    ID_VIEW_ERASESELECTED   "Erases Only Selected Object(s)"
    ID_PREFERENCES_COLOR    "Set The Color Of The Selected Object"
    ID_PREFERENCES_BACKGROUNDCOLOR "Change The Background Color"
    ID_EDIT_DELETESELECTED  "Delete The Selected Object From Context"
    ID_HLREMOVED            "Display Hidden Line Removed\nHidden Line Removal 'Ctrl+H'"
    ID_PREFERENCES_DISPLAYMODE_HLREMOVED "Display Hidden Line Removed"
    ID_ANTIALIAS            "Toggle Aliasing Mode\nToggle Aliasing"
    ID_PREFERENCES_LINESTYLE_SOLID "Set Line Style Of Selected Curve To Solid"
    ID_PREFERENCES_LINESTYLE_DOTTED 
                            "Set Line Style Of Selected Curve To Dotted"
    ID_PREFERENCES_LINESTYLE_DASHED 
                            "Set Line Style Of Selected Curve To Dashed"
    ID_PREFERENCES_LINESTYLE_DASHEDDOTTED 
                            "Set Line Style Of Selected Curve To Alternate Dashed-Dotted"
    ID_MULTIFOUR            "Toggles Single Or 4 Views - viz Top, Front, Left And Axonometric\nToggle Multiple 4"
END

STRINGTABLE DISCARDABLE 
BEGIN
    ID_SNAPSHOT             "Create A Snap Shot Of The Current View\nSnap Shot"
    ID_HELIX                "Create Helix\nHelix"
    ID_OFFSETSURFACE        "Create Offset Surface\nOffset Surface"
    ID_OFFSETCURVE          "Create Offset Curve\nOffset Curve"
    ID_PROJECTION_TYPE      "Toggles Orthographis and Perspective Projections\nToggles Orthographis and Perspective Projections"
    ID_BUTTON32840          "Create User Defined Surface\nUser Surface"
    ID_USERSURFACE          "Create User Defined Surface\nUser Defined Surface"
END

#endif    // English (U.S.) 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\CadSurf.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

Sharjith
Engineer Tata Technologies Ltd
India India
Sharjith is a Mechanical Engineer with strong passion for Automobiles, Aircrafts and Software development.

| Advertise | Privacy | Mobile
Web04 | 2.8.140827.1 | Last Updated 18 Apr 2012
Article Copyright 2003 by Sharjith
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid