// Microsoft Visual C++ 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 
BEGIN
    "resource.h\0"
END

2 TEXTINCLUDE 
BEGIN
    "#include ""afxres.h""\r\n"
    "\0"
END

3 TEXTINCLUDE 
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\\MSVC_Test_At3dx_Dll.rc2""  // non-Microsoft Visual C++ edited resources\r\n"
    "#include ""afxres.rc""         // Standard components\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                    "res\\MSVC_Test_At3dx_Dll.ico"

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

IDR_MAINFRAME MENU 
BEGIN
    POPUP "&File"
    BEGIN
        MENUITEM "E&xit",                       ID_APP_EXIT
    END
    POPUP "&Help"
    BEGIN
        MENUITEM "&About MSVC_Test_At3dx_Dll...", ID_APP_ABOUT
    END
END


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

IDR_MAINFRAME ACCELERATORS 
BEGIN
    "C",            ID_EDIT_COPY,           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_F6,          ID_NEXT_PANE,           VIRTKEY, NOINVERT
    VK_F6,          ID_PREV_PANE,           VIRTKEY, SHIFT, 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 DIALOG  0, 0, 235, 55
STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "About MSVC_Test_At3dx_Dll"
FONT 8, "MS Sans Serif"
BEGIN
    ICON            IDR_MAINFRAME,IDC_STATIC,11,17,20,20
    LTEXT           "MSVC_Test_At3dx_Dll Version 1.0",IDC_STATIC,40,10,119,8,SS_NOPREFIX
    LTEXT           "Copyright (C) 2002",IDC_STATIC,40,25,119,8
    DEFPUSHBUTTON   "OK",IDOK,178,7,50,14,WS_GROUP
END

IDD_READPAGE DIALOGEX 0, 0, 276, 465
STYLE DS_SETFONT | WS_CHILD | WS_CAPTION
CAPTION "Read"
FONT 8, "MS Sans Serif", 0, 0, 0x1
BEGIN
    GROUPBOX        "File Types",IDC_STATIC,4,4,164,32
    PUSHBUTTON      "Read",IDC_READ,6,165,50,14
    PUSHBUTTON      "Buffer Read",IDC_BUFFERREAD,58,165,50,14
    PUSHBUTTON      "Security",IDC_SHOWSECURITY,193,226,50,14
    CONTROL         "Remove Duplicate Faces",IDC_REMOVEFACES,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,4,53,96,10
    COMBOBOX        IDC_INCOMBO,7,17,152,358,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    CONTROL         "Show Read Messages",IDC_SHOWREADMESSAGES,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,4,66,87,10
    CONTROL         "Texture Match",IDC_TEXTUREMATCH,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,4,92,62,10
    GROUPBOX        "",IDC_STATIC,7,181,148,62
    LTEXT           "RGB",IDC_STATIC,11,191,16,8
    EDITTEXT        IDC_RED,29,189,28,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_GREEN,59,189,28,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_BLUE,89,189,28,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_DXFPEN,121,209,28,14,ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        IDC_DXFRED,60,225,28,14,ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        IDC_DXFGREEN,91,226,28,14,ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        IDC_DXFBLUE,122,225,28,14,ES_AUTOHSCROLL | ES_READONLY
    LTEXT           "DXF Pen RGB",IDC_STATIC,12,228,47,8
    LTEXT           "DXF Pen",IDC_STATIC,85,212,30,8
    PUSHBUTTON      "Get DXF Pen",IDC_GETDXFPEN,13,210,50,14
    CONTROL         "colorpicker",IDC_COLORPICKER,"Button",BS_OWNERDRAW | WS_TABSTOP,125,189,16,16,WS_EX_TRANSPARENT
    CONTROL         "Remove Duplicate Vertices",IDC_REMOVEVERTICES,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,4,40,102,10
    CONTROL         "VRML By Chief Architect",IDC_VRMLBYCHIEFARCHITECT,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,4,105,94,10
    GROUPBOX        "VRML 2 (97)",IDC_STATIC,196,40,72,52
    CONTROL         "No Text",IDC_VRMLTEXTNO,"Button",BS_AUTORADIOBUTTON | WS_GROUP,202,53,41,10
    CONTROL         "Flat Text",IDC_VRMLTEXTFLAT,"Button",BS_AUTORADIOBUTTON,202,64,43,10
    CONTROL         "Extruded Text",IDC_VRMLTEXTEXTRUDED,"Button",BS_AUTORADIOBUTTON,202,77,60,10
    GROUPBOX        "DXF",IDC_STATIC,115,41,70,52
    CONTROL         "No Text",IDC_DXFTEXTNO,"Button",BS_AUTORADIOBUTTON | WS_GROUP,123,51,41,10
    CONTROL         "Flat Text",IDC_DXFTEXTFLAT,"Button",BS_AUTORADIOBUTTON,123,65,43,10
    CONTROL         "Extruded Text",IDC_DXFTEXTEXTRUDED,"Button",BS_AUTORADIOBUTTON,123,77,60,10
    GROUPBOX        "OpenGL Background",IDC_STATIC,7,247,116,48
    CONTROL         "Display Background Image",IDC_DISPLAYBACKGROUNDIMAGE,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,259,101,10
    PUSHBUTTON      "Select Background Image",IDC_SELECTBACKGROUNDIMAGE,13,275,102,14
    PUSHBUTTON      "Read And Rotate",IDC_READANDROTATE,160,165,76,14
    CONTROL         "Texture Search Message",IDC_TEXTURESEARCH,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,4,79,95,10
    GROUPBOX        "",IDC_STATIC,5,298,144,58
    CONTROL         "Display OpenGL Debug Messages",IDC_DISPLAYOGLDEBUGMSGS,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,9,306,125,10
    PUSHBUTTON      "Show Statusbar",IDC_SHOWSTATUSBAR,9,336,60,14
    PUSHBUTTON      "Hide Statusbar",IDC_HIDESTATUSBAR,75,336,57,14
    GROUPBOX        "Revolve Camera",IDC_STATIC,7,360,178,47
    LTEXT           "X",IDC_STATIC,14,373,8,8
    LTEXT           "Y",IDC_STATIC,72,373,8,8
    LTEXT           "Z",IDC_STATIC,130,373,8,8
    LTEXT           "Seconds",IDC_STATIC,14,392,29,8
    EDITTEXT        IDC_REVOLVECAMERAX,24,371,40,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_REVOLVECAMERAY,81,371,40,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_REVOLVECAMERAZ,139,371,40,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_REVOLVECAMERASECONDS,47,389,40,14,ES_AUTOHSCROLL
    PUSHBUTTON      "Start",IDC_REVOLVECAMERASTART,103,389,32,14
    PUSHBUTTON      "Stop",IDC_REVOLVECAMERASTOP,147,389,32,14
    CONTROL         "Grab Keyboard Focus",IDC_GRABKEYBOARDFOCUS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,131,251,85,10
    CONTROL         "Always Show Camera Cursor",IDC_ALWAYSSHOWCAMERACURSOR,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,131,279,106,10
    GROUPBOX        "Rotate Camera With Mouse Simulation",IDC_STATIC,7,412,178,49
    LTEXT           "Pixels:  X",IDC_STATIC,13,425,30,8
    EDITTEXT        IDC_ROTATECAMERASIMULATEX,50,422,40,14,ES_AUTOHSCROLL
    LTEXT           "Y",IDC_STATIC,97,425,8,8
    EDITTEXT        IDC_ROTATECAMERASIMULATEY,107,422,40,14,ES_AUTOHSCROLL
    LTEXT           "Seconds",IDC_STATIC,14,442,29,8
    PUSHBUTTON      "Start",IDC_ROTATECAMERASIMULATESTART,94,441,32,14
    EDITTEXT        IDC_ROTATECAMERASIMULATESECONDS,47,441,40,14,ES_AUTOHSCROLL
    PUSHBUTTON      "Stop",IDC_ROTATECAMERASIMULATESTOP,133,441,32,14
    CONTROL         "Show Debug Stop Messages",IDC_SHOWDEBUGSTOPMESSAGES,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,116,106,108,10
    CONTROL         "Pause At OpenGL Snapshot Message",IDC_PAUSEATOGLSNAPSHOTMSG,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,9,320,135,10
    CONTROL         "Invert Transparencies if all are transparent",IDC_CHECKFIXTRANSPARECIES,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,4,118,148,10
    CONTROL         "Use KMZ Input Model Factors",IDC_KMZINPUTMODELFACTORS,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,4,130,111,10
    CONTROL         "VRML Miter Joint Extrusion",IDC_VRML_MITER_JOINT_EXTRUSION,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,4,144,101,10
END

IDD_VIEWPAGE DIALOGEX 0, 0, 272, 513
STYLE DS_SETFONT | WS_CHILD | WS_CAPTION
CAPTION "View"
FONT 8, "MS Sans Serif", 0, 0, 0x1
BEGIN
    GROUPBOX        "Window Controls",IDC_STATIC,8,4,148,297
    PUSHBUTTON      "Show Window",IDC_SHOWWINDOW,12,32,67,14
    PUSHBUTTON      "1. Size Window",IDC_SIZEWINDOW1,12,48,67,14
    PUSHBUTTON      "1. Move Window",IDC_MOVEWINDOW1,12,67,67,14
    PUSHBUTTON      "OnTop Yes",IDC_ONTOPYES,12,84,67,14
    PUSHBUTTON      "Use Wires",IDC_USEWIRES,12,100,67,14
    PUSHBUTTON      "Parallel",IDC_PARALLEL,13,118,67,14
    PUSHBUTTON      "XYZ On",IDC_XYZON,13,136,67,14
    PUSHBUTTON      "Make Quads",IDC_MAKEQUADS,12,168,67,14
    PUSHBUTTON      "Show Quads",IDC_SHOWQUADS,12,184,67,14
    PUSHBUTTON      "Depth Buffer On",IDC_DEPTHBUFFERON,12,200,67,14
    PUSHBUTTON      "Hide Window",IDC_HIDEWINDOW,83,32,67,14
    PUSHBUTTON      "2. Size Window",IDC_SIZEWINDOW2,83,48,67,14
    PUSHBUTTON      "2. Move Window",IDC_MOVEWINDOW2,83,67,67,14
    PUSHBUTTON      "OnTop No",IDC_ONTOPNO,84,84,67,14
    PUSHBUTTON      "Use BBox",IDC_USEBBOX,84,100,67,14
    PUSHBUTTON      "Perspective",IDC_PERSPECTIVE,85,118,67,14
    PUSHBUTTON      "XYZ Off",IDC_XYZOFF,85,136,67,14
    PUSHBUTTON      "Delete Quads",IDC_DELETEQUADS,84,168,67,14
    PUSHBUTTON      "Hide Quads",IDC_HIDEQUADS,84,184,67,14
    PUSHBUTTON      "Depth Buffer Off",IDC_DEPTHBUFFEROFF,84,200,67,14
    GROUPBOX        "Viewer",IDC_VIEWER,9,323,76,68
    CONTROL         "top",IDC_TOP,"Button",BS_OWNERDRAW | WS_TABSTOP,27,331,16,16,WS_EX_TRANSPARENT
    CONTROL         "back",IDC_BACK,"Button",BS_OWNERDRAW | WS_TABSTOP,43,331,16,16,WS_EX_TRANSPARENT
    CONTROL         "left",IDC_LEFT,"Button",BS_OWNERDRAW | WS_TABSTOP,11,347,16,16,WS_EX_TRANSPARENT
    CONTROL         "front",IDC_FRONT,"Button",BS_OWNERDRAW | WS_TABSTOP,27,347,16,16,WS_EX_TRANSPARENT
    CONTROL         "right",IDC_RIGHT,"Button",BS_OWNERDRAW | WS_TABSTOP,43,347,16,16,WS_EX_TRANSPARENT
    CONTROL         "bottom",IDC_BOTTOM,"Button",BS_OWNERDRAW | WS_TABSTOP,27,363,16,16,WS_EX_TRANSPARENT
    CONTROL         "centerx",IDC_CENTERX,"Button",BS_OWNERDRAW | WS_TABSTOP,244,228,16,16,WS_EX_TRANSPARENT
    CONTROL         "centerz",IDC_CENTERZ,"Button",BS_OWNERDRAW | WS_TABSTOP,246,248,16,16,WS_EX_TRANSPARENT
    CONTROL         "solid",IDC_SOLID,"Button",BS_OWNERDRAW | WS_TABSTOP,11,363,16,16,WS_EX_TRANSPARENT
    CONTROL         "shaded",IDC_SHADED,"Button",BS_OWNERDRAW | WS_TABSTOP,43,363,16,16,WS_EX_TRANSPARENT
    CONTROL         "wireframe",IDC_WIREFRAME,"Button",BS_OWNERDRAW | WS_TABSTOP,59,363,16,16,WS_EX_TRANSPARENT
    CONTROL         "zoomin",IDC_ZOOMIN,"Button",BS_OWNERDRAW | WS_TABSTOP,161,361,16,16,WS_EX_TRANSPARENT
    CONTROL         "zoomout",IDC_ZOOMOUT,"Button",BS_OWNERDRAW | WS_TABSTOP,193,361,16,16,WS_EX_TRANSPARENT
    CONTROL         "zoomreset",IDC_ZOOMRESET,"Button",BS_OWNERDRAW | WS_TABSTOP,241,361,16,16,WS_EX_TRANSPARENT
    CONTROL         "Hidden Wireframe",IDC_HIDDENWIREFRAME,"Button",BS_AUTOCHECKBOX | BS_NOTIFY | WS_TABSTOP,11,379,70,10
    GROUPBOX        "OpenGL",IDC_STATIC,164,4,100,120
    CONTROL         "Use OpenGL",IDC_USEOPENGL,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,168,12,57,10
    PUSHBUTTON      "Lights and Materials",IDC_OGLLIGHTSMATERIALS,168,24,84,12
    PUSHBUTTON      "Parent Window",IDC_PARENTWINDOW,12,16,68,14
    PUSHBUTTON      "Unparent Window",IDC_UNPARENTWINDOW,84,16,64,14
    LTEXT           "TriQuad Angles",IDC_STATIC,14,152,50,8
    EDITTEXT        IDC_TRIQUADNORMALANGLE,68,150,40,14,ES_AUTOHSCROLL
    CONTROL         "DisplayTextures",IDC_DISPLAYTEXTURES,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,168,62,66,10
    CONTROL         "GL_REPLACE Mode",IDC_OGLREPLACE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,168,84,82,10
    CONTROL         "Use White Base",IDC_USEWHITEBASE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,168,96,67,10
    PUSHBUTTON      "1. Make Smooth",IDC_MAKESMOOTH1,12,216,68,14
    PUSHBUTTON      "1. Erase Smooth",IDC_ERASESMOOTH1,84,216,68,14
    PUSHBUTTON      "2. Make Smooth",IDC_MAKESMOOTH2,12,232,68,14
    PUSHBUTTON      "2. Erase Smooth",IDC_ERASESMOOTH2,84,232,68,14
    CONTROL         "Two Sided Lighting",IDC_TWOSIDEDLIGHTING,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,168,38,77,10
    CONTROL         "Cull Back Faces",IDC_CULLBACKFACES,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,168,50,67,10
    COMBOBOX        IDC_DISPLAYCOMBO,164,108,94,102,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    GROUPBOX        "Camera Rotate",IDC_STATIC,160,160,104,62
    PUSHBUTTON      "Get",IDC_GETCAMERAANGLES,164,186,16,14
    PUSHBUTTON      "Set",IDC_SETCAMERAANGLES,242,186,17,14
    EDITTEXT        IDC_CAMERAXANGLE,182,186,18,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_CAMERAYANGLE,202,186,18,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_CAMERAZANGLE,222,186,16,14,ES_AUTOHSCROLL
    PUSHBUTTON      "-X",IDC_SETCAMERAXANGLE1,164,202,12,14
    PUSHBUTTON      "-Y",IDC_SETCAMERAYANGLE1,176,202,12,14
    PUSHBUTTON      "-Z",IDC_SETCAMERAZANGLE1,188,202,14,14
    PUSHBUTTON      "+X",IDC_SETCAMERAXANGLE2,222,204,14,14
    PUSHBUTTON      "+Y",IDC_SETCAMERAYANGLE2,236,204,14,14
    PUSHBUTTON      "+Z",IDC_SETCAMERAZANGLE2,248,204,14,14
    EDITTEXT        IDC_CAMERASTEPANGLE,202,202,18,14,ES_AUTOHSCROLL
    GROUPBOX        "Camera Pan",IDC_STATIC,160,222,108,59
    PUSHBUTTON      "Get",IDC_GETCAMERAPAN,162,233,16,14
    EDITTEXT        IDC_CAMERAXPAN,180,233,18,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_CAMERAZPAN,200,233,18,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_CAMERASTEPPAN,194,250,18,14,ES_AUTOHSCROLL
    PUSHBUTTON      "Set",IDC_SETCAMERAPAN,220,233,17,14
    PUSHBUTTON      "-X",IDC_SETCAMERAXPAN1,162,250,14,14
    PUSHBUTTON      "-Z",IDC_SETCAMERAZPAN1,178,250,14,14
    PUSHBUTTON      "+X",IDC_SETCAMERAXPAN2,216,250,14,14
    PUSHBUTTON      "+Z",IDC_SETCAMERAZPAN2,232,250,14,14
    EDITTEXT        IDC_TRIQUADEDGEANGLE,110,150,40,14,ES_AUTOHSCROLL
    CONTROL         "Default Texture",IDC_DEFAULTTEXTURE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,168,72,65,10
    CONTROL         "Use Filmstrip",IDC_USEFILMSTRIP,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,252,55,10
    CONTROL         "Filmstrip Timer",IDC_FILMSTRIPTIMER,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,84,252,60,10
    GROUPBOX        "Camera ViewPoint",IDC_STATIC,164,128,100,32
    PUSHBUTTON      "Get",IDC_GETCAMERAVIEWPOINT,166,140,16,14
    PUSHBUTTON      "Set",IDC_SETCAMERAVIEWPOINT,244,140,17,14
    EDITTEXT        IDC_CAMERAXVIEWPOINT,184,140,18,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_CAMERAYVIEWPOINT,204,140,18,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_CAMERAZVIEWPOINT,224,140,16,14,ES_AUTOHSCROLL
    LTEXT           "Speed",IDC_STATIC,166,172,22,8
    EDITTEXT        IDC_CAMERAROTATESPEED,192,170,18,14,ES_AUTOHSCROLL | ES_READONLY
    PUSHBUTTON      "R1",IDC_SETCAMERAROTATESPEED1,214,170,17,14
    PUSHBUTTON      "R2",IDC_SETCAMERAROTATESPEED2,236,170,17,14
    GROUPBOX        "Camera Zoom",IDC_STATIC,157,287,108,106
    LTEXT           "Initial",IDC_STATIC,161,300,17,8
    LTEXT           "Distance",IDC_STATIC,161,313,29,8
    LTEXT           "Speed",IDC_STATIC,159,327,22,8
    PUSHBUTTON      "Get",IDC_GETCAMERAINITIALDISTANCE,195,297,16,14
    PUSHBUTTON      "Get",IDC_GETCAMERADISTANCE,195,313,16,14
    PUSHBUTTON      "Get",IDC_GETCAMERAZOOMSPEED,195,329,16,14
    EDITTEXT        IDC_CAMERAINITIALDISTANCE,215,297,18,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_CAMERADISTANCE,215,313,18,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_CAMERAZOOMSPEED,215,329,18,14,ES_AUTOHSCROLL
    PUSHBUTTON      "Set",IDC_SETCAMERAINITIALDISTANCE,237,297,16,14
    PUSHBUTTON      "Set",IDC_SETCAMERADISTANCE,237,313,16,14
    PUSHBUTTON      "Z1",IDC_SETCAMERAZOOMSPEED1,161,345,16,14
    PUSHBUTTON      "Z2",IDC_SETCAMERAZOOMSPEED2,177,345,16,14
    PUSHBUTTON      "Z3",IDC_SETCAMERAZOOMSPEED3,193,345,16,14
    PUSHBUTTON      "Z4",IDC_SETCAMERAZOOMSPEED4,209,345,16,14
    PUSHBUTTON      "Z5",IDC_SETCAMERAZOOMSPEED5,225,345,16,14
    PUSHBUTTON      "Z6",IDC_SETCAMERAZOOMSPEED6,241,345,16,14
    LTEXT           "Reset",IDC_STATIC,217,364,20,8
    GROUPBOX        "Camera FOV",IDC_STATIC,89,341,64,50
    PUSHBUTTON      "Get",IDC_GETCAMERAFIELDOFVIEW,91,353,16,14
    EDITTEXT        IDC_CAMERAFIELDOFVIEW,111,353,18,14,ES_AUTOHSCROLL
    PUSHBUTTON      "Set",IDC_SETCAMERAFIELDOFVIEW,133,353,16,14
    PUSHBUTTON      "-",IDC_SETCAMERAFOV1,91,371,16,14
    EDITTEXT        IDC_CAMERASTEPFOV,111,371,18,14,ES_AUTOHSCROLL
    PUSHBUTTON      "+",IDC_SETCAMERAFOV2,133,371,16,14
    GROUPBOX        "Stage",IDC_STATIC,7,396,214,106
    LTEXT           "Grid Spacing",IDC_STATIC,15,407,42,8
    LTEXT           "Width  (X)",IDC_STATIC,13,426,32,8
    LTEXT           "Depth  (Y)",IDC_STATIC,13,446,33,8
    LTEXT           "Origin X",IDC_STATIC,13,464,26,8
    LTEXT           "Origin Y",IDC_STATIC,13,484,26,8
    EDITTEXT        IDC_STAGEGRIDSPACING,59,404,40,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_STAGEWIDTH,59,423,40,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_STAGEDEPTH,59,442,40,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_STAGEORIGINX,59,461,40,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_STAGEORIGINY,59,480,40,14,ES_AUTOHSCROLL
    CONTROL         "Display Stage",IDC_DISPLAYSTAGE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,111,406,59,10
    CONTROL         "Set Origin From SW Corner",IDC_STAGEUSEORIGIN,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,111,420,101,10
    CONTROL         "Use Colored Squares",IDC_STAGEUSESQUARES,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,111,434,83,10
    CONTROL         "Display Texture",IDC_STAGEUSETEXTURE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,111,448,65,10
    PUSHBUTTON      "Select Texture Image",IDC_GETSTAGEIMAGE,109,462,84,14
    PUSHBUTTON      "Change Stage",IDC_CHANGESTAGE,111,480,62,14
    CONTROL         "Reverse Zoom Direction",IDC_REVERSEZOOMDIRECTION,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,161,380,93,10
    CONTROL         "Reverse Pan Direction",IDC_REVERSEPANDIRECTION,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,164,268,87,10
    PUSHBUTTON      "Invert All Layer Transparencies",IDC_INVERTALLLAYERTRANSPARENCIES,14,265,134,14
    PUSHBUTTON      "Make All Layers Opaque",IDC_MAKEALLLAYERSOPAQUE,14,282,132,14
END

IDD_WRITEPAGE DIALOGEX 0, 0, 220, 490
STYLE DS_SETFONT | WS_CHILD | WS_CAPTION
CAPTION "Write"
FONT 8, "MS Sans Serif", 0, 0, 0x0
BEGIN
    GROUPBOX        "File Type",IDC_STATIC,4,4,164,28
    CONTROL         "Output Quads",IDC_OUTPUTQUADS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,4,88,60,10
    CONTROL         "Output UV",IDC_OUTPUTUV,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,4,101,49,10
    PUSHBUTTON      "Write",IDC_WRITE,4,337,32,14
    PUSHBUTTON      "Clear",IDC_CLEAR,4,353,32,14
    PUSHBUTTON      "Buffer Write",IDC_BUFFERWRITE,42,337,50,14
    PUSHBUTTON      "Delete Layer",IDC_DELETELAYER,42,353,50,14
    PUSHBUTTON      "Merge Vertices",IDC_MERGEVERTICES,104,36,64,14
    PUSHBUTTON      "Merge All Objects",IDC_MERGEOBJECTS,104,54,64,14
    CONTROL         "Output VNormals",IDC_VNORMALS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,4,114,69,10
    COMBOBOX        IDC_OUTCOMBO,8,16,152,390,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    CONTROL         "Save 2D Lines",IDC_SAVE2DLINES,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,4,153,63,10
    CONTROL         "Show Save Messages",IDC_SHOWSAVEMESSAGES,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,4,166,87,10
    CONTROL         "Save Texture Path",IDC_SAVETEXTUREPATH,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,4,192,75,10
    CONTROL         "Save Point Clouds",IDC_SAVEPOINTCLOUDS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,4,140,74,10
    PUSHBUTTON      "Merge Materials",IDC_MERGEMATERIALS,104,74,64,14
    GROUPBOX        "3DMF",IDC_STATIC,103,114,56,64
    CONTROL         "Mesh",IDC_MESH3DMF,"Button",BS_AUTORADIOBUTTON | WS_GROUP,109,126,33,10
    CONTROL         "TriMesh",IDC_TRIMESH3DMF,"Button",BS_AUTORADIOBUTTON,109,138,41,10
    CONTROL         "Triangle",IDC_TRIANGLE3DMF,"Button",BS_AUTORADIOBUTTON,109,150,41,10
    CONTROL         "Quad",IDC_QUAD3DMF,"Button",BS_AUTORADIOBUTTON,109,164,33,10
    GROUPBOX        "3DMF",IDC_STATIC,163,114,48,62
    CONTROL         "16",IDC_3DMFPIXEL16,"Button",BS_AUTORADIOBUTTON | WS_GROUP,171,128,24,10
    CONTROL         "24",IDC_3DMFPIXEL24,"Button",BS_AUTORADIOBUTTON,171,142,24,10
    CONTROL         "32",IDC_3DMFPIXEL32,"Button",BS_AUTORADIOBUTTON,171,156,24,10
    CONTROL         "Auto Divide Layers",IDC_AUTODIVIDELAYERS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,4,218,75,10
    GROUPBOX        "DEM",IDC_STATIC,106,185,104,100
    CONTROL         "Sea Level at Color 4",IDC_DEMSEALEVEL0,"Button",BS_AUTORADIOBUTTON | WS_GROUP,112,195,80,10
    CONTROL         "Sea Level at Color 0",IDC_DEMSEALEVEL1,"Button",BS_AUTORADIOBUTTON,112,207,80,10
    CONTROL         "Min Height at Color 0",IDC_DEMSEALEVEL2,"Button",BS_AUTORADIOBUTTON,112,219,82,10
    LTEXT           "Below Factor",IDC_STATIC,114,233,42,8
    LTEXT           "Above Factor",IDC_STATIC,114,247,44,8
    EDITTEXT        IDC_DEMBELOWFACTOR,164,231,40,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_DEMABOVEFACTOR,164,247,40,14,ES_AUTOHSCROLL
    PUSHBUTTON      "Write Contour Map",IDC_WRITEDEMCONTOURMAP,112,265,92,14
    CONTROL         "Output VColors",IDC_VCOLORS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,4,127,63,10
    CONTROL         "1 Layer - Multi Materials",IDC_MULTIMATERIAL,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,4,75,90,10
    CONTROL         "Relocate Textures",IDC_RELOCATE_TEXTURES,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,4,179,76,10
    CONTROL         "Output Avatar",IDC_OUTPUTAVATAR,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,4,36,60,10
    CONTROL         "PartialTexturePath",IDC_PARTIALTEXTUREPATH,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,4,205,74,10
    CONTROL         "No Indent",IDC_NOINDENT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,4,231,47,10
    CONTROL         "One Layer Per File",IDC_ONELAYERPERFILE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,4,62,74,10
    CONTROL         "Text As Text",IDC_TEXTASTEXT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,4,244,56,10
    GROUPBOX        "modo",IDC_STATIC,102,292,110,40
    CONTROL         "Camera and Sunlight",IDC_MODOCAMERASUNLIGHT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,106,301,81,10
    CONTROL         "Hierarchy",IDC_MODOHIERARCHY,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,106,314,46,10
    CONTROL         "With Joints",IDC_MODOWITHJOINTS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,156,314,51,10
    PUSHBUTTON      "Convert 3D To 2D",IDC_CONVERT3DTO2D,4,313,86,14
    CONTROL         "Output Hierarchy",IDC_OUTPUTHIERARCHY,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,4,49,69,10
    PUSHBUTTON      "Set Color White For UV Layers",IDC_SETWHITEFORUVLAYERS,104,94,106,14
    GROUPBOX        "Collada Up Axis",IDC_STATIC,101,338,80,27
    CONTROL         "X",IDC_COLLADAUPAXISX,"Button",BS_AUTORADIOBUTTON | WS_GROUP,105,349,21,10
    CONTROL         "Y",IDC_COLLADAUPAXISY,"Button",BS_AUTORADIOBUTTON,134,349,21,10
    CONTROL         "Z",IDC_COLLADAUPAXISZ,"Button",BS_AUTORADIOBUTTON,157,349,21,10
    CONTROL         "Always Write Collada Transparency",IDC_ALWAYSWRITECOLLADATRANSPARENCY,
                    "Button",BS_AUTOCHECKBOX | BS_MULTILINE | WS_TABSTOP,3,258,81,18
    GROUPBOX        "Maya Version",IDC_STATIC,3,279,82,29
    EDITTEXT        IDC_MAYAVERSION,7,289,40,14,ES_AUTOHSCROLL
    PUSHBUTTON      "Set",IDC_SETMAYAVERSION,53,289,27,14
    GROUPBOX        "DirectX Prefix",IDC_STATIC,5,373,154,43
    CONTROL         "Use Frame Prefix",IDC_USEDIRECTXFRAMEPREFIX,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,9,385,69,10
    CONTROL         "Use Material Prefix",IDC_USEDIRECTXMATERIALPREFIX,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,9,399,75,10
    EDITTEXT        IDC_DIRECTXFRAMEPREFIX,83,382,40,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_DIRECTXMATERIALPREFIX,83,399,40,14,ES_AUTOHSCROLL
    PUSHBUTTON      "Set",IDC_SETDIRECTXFRAMEPREFIX,128,382,27,14
    PUSHBUTTON      "Set",IDC_SETDIRECTXMATERIALPREFIX,128,398,27,14
    GROUPBOX        "Embedded Textures",IDC_STATIC,6,418,158,40
    EDITTEXT        IDC_NEW_EMBEDDED_NAME,11,429,67,14,ES_AUTOHSCROLL
    PUSHBUTTON      "Rename",IDC_RENAME_EMBEDDED_TEXTURES,85,428,50,14
END

IDD_TRANSFERPAGE DIALOG  0, 0, 248, 414
STYLE DS_SETFONT | WS_CHILD | WS_CAPTION
CAPTION "Transfer"
FONT 8, "MS Sans Serif"
BEGIN
    PUSHBUTTON      "Transfer Data From DLL",IDC_TRANSFERFROM,10,36,104,14
    PUSHBUTTON      "Fast Transfer Data From DLL",IDC_FASTTRANSFERFROM,8,52,104,14
    PUSHBUTTON      "Clear Data From DLL",IDC_TRANSFERCLEAR,8,72,104,14
    PUSHBUTTON      "Transfer Data To DLL",IDC_TRANSFERTO,8,138,106,14
    PUSHBUTTON      "Fast Transfer Data To DLL",IDC_FASTTRANSFERTO,8,156,106,14
    PUSHBUTTON      "Clear Data From App",IDC_TRANSFERFREE,10,174,104,14
    GROUPBOX        "Standard Transfer",IDC_STATIC,4,2,118,190
    GROUPBOX        "Special Transfer",IDC_STATIC,130,20,114,144
    LTEXT           "Save face colors",IDC_STATIC,136,34,54,8
    LTEXT           "Merge layers into one layer",IDC_STATIC,136,44,85,8
    LTEXT           "Transfer data from DLL",IDC_STATIC,136,57,74,8
    PUSHBUTTON      "Transfer Data From DLL",IDC_SPECIALTRANSFERFROM,134,68,104,14
    PUSHBUTTON      "Fast Transfer Data From DLL",IDC_SPECIALFASTTRANSFERFROM,134,86,104,14
    LTEXT           "Transfer data to DLL",IDC_STATIC,134,108,66,8
    LTEXT           "Divide layer using face color",IDC_STATIC,136,118,90,8
    PUSHBUTTON      "Transfer Data To DLL",IDC_SPECIALTRANSFERTO,136,129,100,14
    PUSHBUTTON      "Fast Transfer Data To DLL",IDC_SPECIALFASTTRANSFERTO,136,146,102,14
    GROUPBOX        "Red / Green Knights",IDC_STATIC,128,169,116,62
    PUSHBUTTON      "Transfer Green To DLL",IDC_TRANSFERGREENKNIGHT,134,196,98,14
    GROUPBOX        "Texture Square",IDC_STATIC,6,196,112,62
    PUSHBUTTON      "Test 1: Transfer To DLL",IDC_TRANSFERTEXTURESQUARE1,12,208,98,14
    PUSHBUTTON      "Test 2: Transfer To DLL",IDC_TRANSFERSQUARE2,12,224,98,14
    PUSHBUTTON      "Test 3: Transfer To DLL",IDC_TRANSFERSQUARE3,12,240,98,14
    PUSHBUTTON      "Transfer Red To DLL",IDC_TRANSFERREDKNIGHT,134,180,100,14
    PUSHBUTTON      "Transfer Blue To DLL",IDC_TRANSFERBLUEKNIGHT,134,212,98,14
    CONTROL         "Basic",IDC_TRANSFERFROMTYPEFLAG0,"Button",BS_AUTORADIOBUTTON | WS_GROUP,10,12,33,10
    CONTROL         "Arrays",IDC_TRANSFERFROMTYPEFLAG1,"Button",BS_AUTORADIOBUTTON,10,24,35,10
    CONTROL         "XYZ_UV",IDC_TRANSFERFROMTYPEFLAG2,"Button",BS_AUTORADIOBUTTON,56,14,44,10
    PUSHBUTTON      "Transfer Blue Monk to DLL",IDC_TRANSFERBLUEMONK,134,262,100,14
    GROUPBOX        "Green / Blue Monks",IDC_STATIC,128,234,112,46
    PUSHBUTTON      "Transfer Green Monk to DLL",IDC_TRANSFERGREENMONK,134,246,100,14
    CONTROL         "Ambient1",IDC_USEAMBIENT1,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,92,45,10
    CONTROL         "Diffuse1",IDC_USEDIFFUSE1,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,62,92,42,10
    CONTROL         "Reflection1",IDC_USEREFLECTION1,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,108,52,10
    CONTROL         "Specular1",IDC_USESPECULAR1,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,62,108,48,10
    CONTROL         "Transparency1",IDC_USETRANSPARENCY1,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,10,122,63,10
    PUSHBUTTON      "Transfer MultiMat Knight to DLL",IDC_TRANSFERMULTIMATKNIGHT,10,262,108,14
    CONTROL         "Transfer vertices as floats",IDC_USEVERTEXFLOATTRANSFER,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,130,4,97,10
    GROUPBOX        "Layer Min - Max and Counts",IDC_STATIC,7,282,234,121
    PUSHBUTTON      "Select First Layer",IDC_SELECTFIRSTLAYER,13,292,63,14
    PUSHBUTTON      "Select Next Layer",IDC_SELECTNEXTLAYER,85,292,65,14
    EDITTEXT        IDC_LAYERMINMAXNAME,13,311,136,14,ES_AUTOHSCROLL | ES_READONLY
    GROUPBOX        "Min - Max",IDC_STATIC,13,329,137,60
    LTEXT           "X",IDC_STATIC,17,339,8,8
    LTEXT           "Y",IDC_STATIC,17,356,8,8
    LTEXT           "Z",IDC_STATIC,17,373,8,8
    EDITTEXT        IDC_LAYERMINX,28,338,56,14,ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        IDC_LAYERMINY,28,354,56,14,ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        IDC_LAYERMINZ,27,371,56,14,ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        IDC_LAYERMAXX,89,338,56,14,ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        IDC_LAYERMAXY,89,355,56,14,ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        IDC_LAYERMAXZ,88,372,56,14,ES_AUTOHSCROLL | ES_READONLY
    GROUPBOX        "Vertex Count",IDC_STATIC,156,290,79,63
    LTEXT           "Cloud",IDC_STATIC,159,302,19,8
    LTEXT           "Line",IDC_STATIC,160,316,14,8
    LTEXT           "Mesh",IDC_STATIC,159,336,18,8
    EDITTEXT        IDC_LAYERCLOUDVERTS,187,299,40,14,ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        IDC_LAYERLINEVERTS,187,316,40,14,ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        IDC_LAYERMESHVERTS,187,334,40,14,ES_AUTOHSCROLL | ES_READONLY
    GROUPBOX        "",IDC_STATIC,156,357,79,42
    EDITTEXT        IDC_LAYERLINES,191,364,40,14,ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        IDC_LAYERTRIANGLES,191,381,40,14,ES_AUTOHSCROLL | ES_READONLY
    LTEXT           "Lines",IDC_STATIC,159,367,18,8
    LTEXT           "Triangles",IDC_STATIC,158,383,30,8
END

IDD_ALIGNPAGE DIALOG  0, 0, 180, 260
STYLE DS_SETFONT | WS_CHILD | WS_CAPTION
CAPTION "Align"
FONT 8, "MS Sans Serif"
BEGIN
    PUSHBUTTON      "Start / Stop Align Normals",IDC_ALIGNACTIVATE,16,4,144,14
    PUSHBUTTON      "Preset Normals",IDC_PRESETNORMALS,16,25,144,14
    CONTROL         "Show All Layers",IDC_ALIGNSHOWALL,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,16,44,66,10
    CONTROL         "Flip One Normal",IDC_ALIGNFLIPONE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,16,60,66,10
    EDITTEXT        IDC_ALIGNNAME,16,76,144,14,ES_AUTOHSCROLL | ES_READONLY
    PUSHBUTTON      "Select Align Layer",IDC_SETALIGNLAYER,16,97,144,14
    PUSHBUTTON      "Flip Selected Layer",IDC_DOLAYERFLIP,16,116,144,14
END

IDD_TEXTPAGE DIALOGEX 0, 0, 209, 435
STYLE DS_SETFONT | WS_CHILD | WS_CAPTION
CAPTION "Text"
FONT 8, "MS Sans Serif", 0, 0, 0x0
BEGIN
    GROUPBOX        "Font",IDC_STATIC,16,4,60,68
    EDITTEXT        IDC_TEXTFONTNAME,20,17,48,14,ES_AUTOHSCROLL | ES_READONLY
    PUSHBUTTON      "Select Font",IDC_TEXTSELECTFONT,20,36,50,14
    PUSHBUTTON      "Directory",IDC_TEXTFONTDIRECTORY,20,52,50,14
    GROUPBOX        "Text On",IDC_STATIC,80,4,76,68
    CONTROL         "Create Stencil",IDC_TEXTCREATESTENCIL,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,84,44,60,10
    CONTROL         "Plus Core",IDC_TEXTPLUSCORE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,84,56,46,10
    GROUPBOX        "3D Text",IDC_STATIC,16,76,140,155
    LTEXT           "Vertices Per Curve",IDC_STATIC,20,89,60,8
    PUSHBUTTON      "<",IDC_TEXTPOINTSDOWN,115,84,13,14
    PUSHBUTTON      ">",IDC_TEXTPOINTSUP,131,84,13,14
    EDITTEXT        IDC_TEXTPOINTS,87,84,24,14,ES_AUTOHSCROLL | ES_READONLY
    LTEXT           "Height",IDC_STATIC,19,150,22,8
    EDITTEXT        IDC_TEXTHEIGHT,47,150,28,14,ES_AUTOHSCROLL
    LTEXT           "Depth",IDC_STATIC,95,150,20,8
    LTEXT           "Text Border",IDC_STATIC,79,171,38,8
    EDITTEXT        IDC_TEXTDEPTH,123,150,24,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_TEXTBORDER,123,169,24,14,ES_AUTOHSCROLL
    CONTROL         "Reduce Vertices",IDC_TEXTREDUCEVERTICES,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,23,185,69,10
    CONTROL         "Join",IDC_TEXTJOIN,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,23,201,29,10
    CONTROL         "Face",IDC_TEXTFACE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,59,201,32,10
    CONTROL         "Extrude",IDC_TEXTEXTRUDE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,99,201,40,10
    GROUPBOX        "Text",IDC_STATIC,15,236,76,32
    EDITTEXT        IDC_TEXTEDIT,19,247,66,14,ES_AUTOHSCROLL
    PUSHBUTTON      "Convert Text",IDC_CONVERTTEXT,22,271,50,14
    CONTROL         "One Layer",IDC_TEXTONELAYER,"Button",BS_AUTORADIOBUTTON | WS_GROUP,88,16,49,10
    CONTROL         "Multiple Layers",IDC_TEXTMULTIPLELAYERS,"Button",BS_AUTORADIOBUTTON,88,28,63,10
    GROUPBOX        "Bevels",IDC_STATIC,17,291,132,68
    PUSHBUTTON      "Apply 1",IDC_APPLYBEVELS1,23,303,50,14
    PUSHBUTTON      "Apply 2",IDC_APPLYBEVELS2,23,321,50,14
    PUSHBUTTON      "Apply 3",IDC_APPLYBEVELS3,23,339,50,14
    PUSHBUTTON      "Make Bevel Sets",IDC_TEXTMAKEBEVELSETS,79,303,63,14
    PUSHBUTTON      "Select Layer",IDC_TEXTSELECTLAYER,79,321,63,14
    EDITTEXT        IDC_TEXTLAYERNAME,79,338,63,14,ES_AUTOHSCROLL | ES_READONLY
    GROUPBOX        "Transfer 2D Outlines",IDC_STATIC,17,364,87,67
    PUSHBUTTON      "Transfer Outlines 1",IDC_TRANSFEROUTLINES1,25,376,74,14
    PUSHBUTTON      "Transfer Outlines 2",IDC_TRANSFEROUTLINES2,25,394,74,14
    PUSHBUTTON      "Transfer Outlines 3",IDC_TRANSFEROUTLINES3,25,412,74,14
    CONTROL         "Set All Vertices To 'On-Curve'",IDC_TEXTONCURVE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,20,105,109,10
    CONTROL         "Keep Original Vertex Coordinates",IDC_TEXTORIGVERTS,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,20,119,119,10
    CONTROL         "Use Heights From Whole Char Set",IDC_TEXTALLCHARS,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,20,134,124,10
    GROUPBOX        "Unicode Text",IDC_STATIC,97,236,108,32
    EDITTEXT        IDC_TEXTUNICODEEDIT,101,247,66,14,ES_AUTOHSCROLL | ES_READONLY
    PUSHBUTTON      "Paste",IDC_TEXTPASTE,171,246,30,14
    PUSHBUTTON      "Convert Unicode Text",IDC_CONVERTUNICODETEXT,103,273,87,14
    CONTROL         "Reverse Outlines",IDC_TEXTREVERSEOUTLINES,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,23,216,70,10
END

IDD_OBJECTPAGE DIALOG  0, 0, 274, 444
STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Object"
FONT 8, "MS Sans Serif"
BEGIN
    GROUPBOX        "Min - Max",IDC_STATIC,2,2,152,80
    LTEXT           "X",IDC_STATIC,6,14,8,8
    LTEXT           "Y",IDC_STATIC,6,30,8,8
    LTEXT           "Z",IDC_STATIC,6,48,8,8
    EDITTEXT        IDC_MINXOBJECT,18,12,64,14,ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        IDC_MINYOBJECT,18,30,64,14,ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        IDC_MINZOBJECT,18,46,64,14,ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        IDC_MAXXOBJECT,84,12,64,14,ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        IDC_MAXYOBJECT,84,30,64,14,ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        IDC_MAXZOBJECT,84,46,64,14,ES_AUTOHSCROLL | ES_READONLY
    CONTROL         "Use 2D",IDC_USE2DOBJECT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,16,66,40,10
    PUSHBUTTON      "Get Min Max",IDC_GETMINMAXOBJECT,84,64,45,14
    GROUPBOX        "Scale - Position",IDC_STATIC,2,86,152,98
    PUSHBUTTON      "Copy X",IDC_COPYXTOYZOBJECT,6,96,36,14
    PUSHBUTTON      "Calc Cntr",IDC_CALCCENTEROBJECT,6,112,36,14
    PUSHBUTTON      "Set Cntr",IDC_SETCENTEROBJECT,6,128,36,14
    PUSHBUTTON      "Set Min",IDC_SETMIN2OBJECT,42,96,36,14
    PUSHBUTTON      "Scale",IDC_DOSCALEOBJECT,42,128,36,14
    PUSHBUTTON      "Set Min at 0,0,0",IDC_SETMIN1OBJECT,6,146,54,14
    PUSHBUTTON      "CenterXY and Z0",IDC_SETMIN3OBJECT,64,146,64,14
    EDITTEXT        IDC_EDITXOBJECT,82,96,46,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_EDITYOBJECT,82,112,46,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_EDITZOBJECT,82,130,46,14,ES_AUTOHSCROLL
    LTEXT           "X",IDC_STATIC,132,98,8,8
    LTEXT           "Y",IDC_STATIC,132,114,8,8
    LTEXT           "Z",IDC_STATIC,132,132,8,8
    GROUPBOX        "Mirror",IDC_STATIC,4,188,34,76
    PUSHBUTTON      "X",IDC_MIRRORXOBJECT,8,202,18,14
    PUSHBUTTON      "Y",IDC_MIRRORYOBJECT,8,222,18,14
    PUSHBUTTON      "Z",IDC_MIRRORZOBJECT,10,242,18,14
    GROUPBOX        "Rotate",IDC_STATIC,40,186,112,112
    LTEXT           "X",IDC_STATIC,46,231,8,8
    LTEXT           "Y",IDC_STATIC,44,247,8,8
    LTEXT           "Z",IDC_STATIC,44,263,8,8
    PUSHBUTTON      "-90",IDC_ROTATEX1OBJECT,58,230,24,14
    PUSHBUTTON      "-90",IDC_ROTATEY1OBJECT,58,246,24,14
    PUSHBUTTON      "-90",IDC_ROTATEZ1OBJECT,58,262,24,14
    PUSHBUTTON      "90",IDC_ROTATEX2OBJECT,86,230,24,14
    PUSHBUTTON      "90",IDC_ROTATEY2OBJECT,86,246,24,14
    PUSHBUTTON      "90",IDC_ROTATEZ2OBJECT,86,262,24,14
    PUSHBUTTON      "180",IDC_ROTATEX3OBJECT,114,230,24,14
    PUSHBUTTON      "180",IDC_ROTATEY3OBJECT,114,246,24,14
    PUSHBUTTON      "180",IDC_ROTATEZ3OBJECT,114,262,24,14
    PUSHBUTTON      "Use Displayed Rotation",IDC_ROTATEXYZOBJECT,58,278,80,14
    GROUPBOX        "Backgrounds",IDC_STATIC,158,2,112,66
    COMBOBOX        IDC_BACKGROUNDCOMBO,160,14,104,76,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    EDITTEXT        IDC_BACKGROUNDRED,162,30,32,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_BACKGROUNDGREEN,198,30,32,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_BACKGROUNDBLUE,234,30,32,14,ES_AUTOHSCROLL
    PUSHBUTTON      "Get",IDC_BACKGROUNDGET,162,48,32,14
    PUSHBUTTON      "Set",IDC_BACKGROUNDSET,230,48,33,14
    GROUPBOX        "UV",IDC_STATIC,158,72,92,194
    LTEXT           "Center",IDC_STATIC,176,84,22,8
    LTEXT           "Rotation",IDC_STATIC,170,118,28,8
    LTEXT           "Scale",IDC_STATIC,176,134,19,8
    LTEXT           "Translation",IDC_STATIC,164,166,36,8
    EDITTEXT        IDC_TEXTURECENTER0,204,82,40,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_TEXTURECENTER1,204,100,40,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_TEXTUREROTATION,204,116,40,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_TEXTURESCALE0,204,132,40,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_TEXTURESCALE1,204,148,40,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_TEXTURETRANSLATION0,204,164,40,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_TEXTURETRANSLATION1,204,180,40,14,ES_AUTOHSCROLL
    COMBOBOX        IDC_TEXTURETYPECOMBO,162,198,82,62,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    PUSHBUTTON      "Create UV",IDC_CREATEUV,176,214,50,14
    PUSHBUTTON      "Remove UV",IDC_REMOVEUV,176,230,50,14
    PUSHBUTTON      "UV Dialog",IDC_UVDIALOG,176,246,50,14
    PUSHBUTTON      "Zero All Z",IDC_ZEROALLZ,6,164,50,14
    GROUPBOX        "",IDC_STATIC,4,300,128,44
    PUSHBUTTON      "1. Erase Lines",IDC_ERASELINES1,8,308,50,14
    PUSHBUTTON      "2. Erase Lines",IDC_ERASELINES2,6,327,50,14
    PUSHBUTTON      "1. Erase Clouds",IDC_ERASECLOUDS1,66,308,60,14
    PUSHBUTTON      "2. EraseClouds",IDC_ERASEClouds2,66,327,60,14
    GROUPBOX        "",IDC_STATIC,156,266,92,28
    PUSHBUTTON      "Water-tight Check",IDC_WaterTightCheck,168,274,72,14
    CONTROL         "Rotate About Origin",IDC_ROTATEABOUTORIGIN,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,46,198,78,10
    CONTROL         "Draw Object Axes",IDC_DRAWOBJECTAXES,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,46,212,73,10
    GROUPBOX        "Reduce Polygons",IDC_STATIC,4,348,230,90
    PUSHBUTTON      "Start",IDC_REDUCEPOLYGONSSTART,10,360,50,14
    PUSHBUTTON      "Okay",IDC_REDUCEPOLYGONSOKAY,74,358,50,14
    PUSHBUTTON      "Cancel",IDC_REDUCEPOLYGONSCANCEL,148,358,50,14
    PUSHBUTTON      "Select Layer",IDC_REDUCEPOLYGONSSELECTLAYER,10,380,50,14
    EDITTEXT        IDC_REDUCEPOLYGONSNAME,70,380,132,14,ES_AUTOHSCROLL | ES_READONLY
    LTEXT           "V",IDC_STATIC,10,402,8,8
    LTEXT           "T",IDC_STATIC,10,416,8,8
    EDITTEXT        IDC_REDUCEPOLYGONSVERTEX0,28,400,58,14,ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        IDC_REDUCEPOLYGONSTRIANGLE0,28,418,58,14,ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        IDC_REDUCEPOLYGONSVERTEX1,94,400,58,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_REDUCEPOLYGONSTRIANGLE1,94,416,58,14,ES_AUTOHSCROLL | ES_READONLY
    PUSHBUTTON      "Set",IDC_REDUCEPOLYGONSSET,158,400,30,14
    PUSHBUTTON      "<",IDC_REDUCEPOLYGONSDECREASE,156,416,20,14
    EDITTEXT        IDC_REDUCEPOLYGONSSTEP,180,416,22,14,ES_AUTOHSCROLL
    PUSHBUTTON      ">",IDC_REDUCEPOLYGONSINCREASE,208,416,20,14
END

IDD_DEFAULTPAGE DIALOG  0, 0, 256, 425
STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Default"
FONT 8, "MS Sans Serif"
BEGIN
    PUSHBUTTON      "Get Default Materials",IDC_GETDEFAULTMATERIALS,4,4,78,14
    PUSHBUTTON      "Clear Edit Boxes",IDC_CLEAREDITBOXES,92,4,58,14
    LTEXT           "Ambient 1",IDC_STATIC,6,24,32,8
    LTEXT           "Diffuse 1",IDC_STATIC,4,56,29,8
    LTEXT           "Specular 1",IDC_STATIC,4,56,35,8
    EDITTEXT        IDC_AMBIENT1,46,22,30,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_DIFFUSE1,46,54,30,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_SPECULAR1,46,54,30,12,ES_AUTOHSCROLL
    LTEXT           "Ambient RGB",IDC_STATIC,90,25,44,8
    LTEXT           "Diffuse RGB",IDC_STATIC,90,56,40,8
    LTEXT           "Specular RGB",IDC_STATIC,90,74,46,8
    LTEXT           "Emissive RGB",IDC_STATIC,90,90,46,8
    EDITTEXT        IDC_AMBIENTRED,140,22,30,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_AMBIENTGREEN,174,22,30,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_AMBIENTBLUE,208,22,30,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_DIFFUSERED,138,56,30,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_DIFFUSEGREEN,174,56,30,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_DIFFUSEBLUE,208,56,30,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_SPECULARRED,140,72,30,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_SPECULARGREEN,174,72,30,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_SPECULARBLUE,208,72,30,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_EMISSIVERED,140,88,30,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_EMISSIVEGREEN,174,88,30,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_EMISSIVEBLUE,208,88,30,12,ES_AUTOHSCROLL
    LTEXT           "Roughness",IDC_STATIC,4,100,37,8
    LTEXT           "Shininess",IDC_STATIC,6,114,31,8
    LTEXT           "Transparency 1",IDC_STATIC,4,130,50,8
    LTEXT           "Transparency RGB",IDC_STATIC,96,128,62,8
    EDITTEXT        IDC_ROUGHNESS,48,98,30,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_SHININESS,48,112,30,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_TRANSPARENCY1,60,126,30,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_TRANSPARENCYRED,158,124,30,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_TRANSPARENCYGREEN,190,124,30,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_TRANSPARENCYBLUE,222,124,30,12,ES_AUTOHSCROLL
    LTEXT           "Index of Refraction",IDC_STATIC,4,146,61,8
    LTEXT           "Crease Angle",IDC_STATIC,4,162,43,8
    EDITTEXT        IDC_INDEXREFRACTION,68,142,30,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_CREASEANGLE,68,158,30,12,ES_AUTOHSCROLL
    LTEXT           "DXF Color",IDC_STATIC,6,186,33,8
    LTEXT           "Double Sided",IDC_STATIC,4,202,44,8
    EDITTEXT        IDC_DXFCOLOR,52,184,30,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_DOUBLESIDED,52,200,30,12,ES_AUTOHSCROLL
    LTEXT           "RWX Geometry Sampling",IDC_STATIC,90,186,81,8
    LTEXT           "RWX Light Sampling",IDC_STATIC,90,202,66,8
    LTEXT           "RWX Texture Modes",IDC_STATIC,90,218,68,8
    LTEXT           "RWX Tag",IDC_STATIC,92,232,33,8
    EDITTEXT        IDC_RWXGEOMETRYSAMPLING,178,182,30,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_RWXLIGHTSAMPLING,178,198,30,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_RWXTEXTUREMODES,178,216,30,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_RWXTAG,178,232,30,12,ES_AUTOHSCROLL
    LTEXT           "Color RGB",IDC_STATIC,90,40,34,8
    EDITTEXT        IDC_COLORRED,138,40,30,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_COLORGREEN,174,40,30,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_COLORBLUE,208,40,30,12,ES_AUTOHSCROLL
    GROUPBOX        "OpenGL Global Ambient Light",IDC_STATIC,7,255,226,34
    PUSHBUTTON      "Get",IDC_GETOGLGLOBALAMBIENT,7,270,25,14
    PUSHBUTTON      "Set",IDC_SETOGLGLOBALAMBIENT,36,270,23,14
    LTEXT           "RGBA",IDC_STATIC,63,272,21,8
    EDITTEXT        IDC_OGLGLOBALAMBIENTRED,91,271,30,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_OGLGLOBALAMBIENTGREEN,125,271,30,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_OGLGLOBALAMBIENTBLUE,159,270,30,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_OGLGLOBALAMBIENTALPHA,195,270,30,12,ES_AUTOHSCROLL
    GROUPBOX        "OpenGL Directional Lights",IDC_STATIC,7,292,215,121
    GROUPBOX        "Static",IDC_STATIC,13,303,181,24
    CONTROL         "0",IDC_OGLLIGHT0,"Button",BS_AUTORADIOBUTTON | WS_GROUP,17,313,20,10
    CONTROL         "1",IDC_OGLLIGHT1,"Button",BS_AUTORADIOBUTTON,39,313,20,10
    CONTROL         "2",IDC_OGLLIGHT2,"Button",BS_AUTORADIOBUTTON,61,313,20,10
    CONTROL         "3",IDC_OGLLIGHT3,"Button",BS_AUTORADIOBUTTON,83,313,20,10
    CONTROL         "4",IDC_OGLLIGHT4,"Button",BS_AUTORADIOBUTTON,105,313,20,10
    CONTROL         "5",IDC_OGLLIGHT5,"Button",BS_AUTORADIOBUTTON,127,313,20,10
    CONTROL         "6",IDC_OGLLIGHT6,"Button",BS_AUTORADIOBUTTON,149,313,20,10
    CONTROL         "7",IDC_OGLLIGHT7,"Button",BS_AUTORADIOBUTTON,171,313,20,10
    LTEXT           "Ambient",IDC_STATIC,16,332,26,8
    LTEXT           "Diffuse",IDC_STATIC,16,348,23,8
    LTEXT           "Specular",IDC_STATIC,15,364,29,8
    LTEXT           "Position",IDC_STATIC,15,379,26,8
    LTEXT           "RGBA",IDC_STATIC,54,332,21,8
    EDITTEXT        IDC_OGLLIGHTAMBIENTRED,82,330,30,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_OGLLIGHTAMBIENTGREEN,116,330,30,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_OGLLIGHTAMBIENTBLUE,150,330,30,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_OGLLIGHTAMBIENTALPHA,186,330,30,12,ES_AUTOHSCROLL
    LTEXT           "RGBA",IDC_STATIC,54,348,21,8
    EDITTEXT        IDC_OGLLIGHTDIFFUSERED,82,346,30,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_OGLLIGHTDIFFUSEGREEN,116,346,30,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_OGLLIGHTDIFFUSEBLUE,150,346,30,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_OGLLIGHTDIFFUSEALPHA,186,346,30,12,ES_AUTOHSCROLL
    LTEXT           "RGBA",IDC_STATIC,54,363,21,8
    EDITTEXT        IDC_OGLLIGHTSPECULARRED,82,362,30,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_OGLLIGHTSPECULARGREEN,116,362,30,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_OGLLIGHTSPECULARBLUE,150,361,30,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_OGLLIGHTSPECULARALPHA,186,361,30,12,ES_AUTOHSCROLL
    LTEXT           "XYZ",IDC_STATIC,54,379,15,8
    EDITTEXT        IDC_OGLLIGHTPOSITIONX,82,378,30,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_OGLLIGHTPOSITIONY,116,378,30,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_OGLLIGHTPOSITIONZ,150,377,30,12,ES_AUTOHSCROLL
    CONTROL         "Enabled (Turned On)",IDC_OGLLIGHTENABLED,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,397,82,10
    PUSHBUTTON      "Set Light",IDC_SETOGLLIGHT,175,394,40,14
END

IDD_DEMPAGE DIALOG  0, 0, 270, 292
STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "DEM"
FONT 8, "MS Sans Serif"
BEGIN
    PUSHBUTTON      "Get DEM Info",IDC_GETDEMINFO,6,12,50,14
    EDITTEXT        IDC_DEMCOLUMNS,50,32,48,14,ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        IDC_DEMROWS,154,32,48,14,ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        IDC_DEMXSPACING,50,50,48,14,ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        IDC_DEMYSPACING,154,50,48,14,ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        IDC_DEMMINHEIGHT,50,68,48,14,ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        IDC_DEMMAXHEIGHT,154,68,48,14,ES_AUTOHSCROLL | ES_READONLY
    LTEXT           "Columns",IDC_STATIC,8,38,28,8
    LTEXT           "Rows",IDC_STATIC,112,34,19,8
    LTEXT           "X Spacing",IDC_STATIC,10,54,34,8
    LTEXT           "Y Spacing",IDC_STATIC,112,52,34,8
    LTEXT           "Min Height",IDC_STATIC,8,72,35,8
    LTEXT           "Max Height",IDC_STATIC,110,70,37,8
    GROUPBOX        "",IDC_STATIC,2,6,206,86
    GROUPBOX        "",IDC_STATIC,6,92,228,30
    EDITTEXT        IDC_DEMEAST,28,102,48,14,ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        IDC_DEMNORTH,102,102,48,14,ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        IDC_DEMHEIGHT,182,102,48,14,ES_AUTOHSCROLL | ES_READONLY
    LTEXT           "East",IDC_STATIC,10,106,15,8
    LTEXT           "North",IDC_STATIC,80,106,18,8
    LTEXT           "Height",IDC_STATIC,156,106,22,8
    CONTROL         "",IDC_DEMPANEL,"Static",SS_WHITERECT,8,128,224,140
    SCROLLBAR       IDC_DEMSCROLLX,8,272,222,11
    SCROLLBAR       IDC_DEMSCROLLY,238,128,10,140,SBS_VERT
    GROUPBOX        "Bits Per Pixel",IDC_STATIC,214,8,50,60
    CONTROL         "8",IDC_DEMBITS8,"Button",BS_AUTORADIOBUTTON | WS_GROUP,226,20,20,10
    CONTROL         "24",IDC_DEMBITS24,"Button",BS_AUTORADIOBUTTON,226,34,24,10
    CONTROL         "32",IDC_DEMBITS32,"Button",BS_AUTORADIOBUTTON,226,48,24,10
END

IDD_EDITPAGE DIALOGEX 0, 0, 284, 382
STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Edit"
FONT 8, "MS Sans Serif", 0, 0, 0x0
BEGIN
    PUSHBUTTON      "Start Edit Vertices",IDC_STARTEDITVERTICES,2,4,66,14
    PUSHBUTTON      "Stop Edit Vertices",IDC_STOPEDITVERTICES,72,4,64,14
    PUSHBUTTON      "Extrude Start",IDC_EDITEXTRUDESTART,140,4,50,14
    PUSHBUTTON      "Extrude Now",IDC_EDITEXTRUDENOW,198,4,50,14
    PUSHBUTTON      "Drag Box",IDC_EDITDRAGBOX,4,22,50,14
    PUSHBUTTON      "Pick Vertex",IDC_EDITPICKVERTEX,68,22,50,14
    PUSHBUTTON      "Pick All Vertices",IDC_EDITPICKALLVERTICES,126,22,60,14
    PUSHBUTTON      "Drag Vertex",IDC_EDITDRAGVERTEX,198,22,50,14
    GROUPBOX        "Pick Vertex Mode",IDC_STATIC,4,36,190,40
    PUSHBUTTON      "First",IDC_EDITPICKMODEFIRST,8,46,30,14
    PUSHBUTTON      "Connected",IDC_EDITPICKMODECONNECTED,44,48,46,14
    PUSHBUTTON      "Anywhere",IDC_EDITPICKMODEANYWHERE,99,44,42,14
    PUSHBUTTON      "Erase",IDC_PICKMODEERASE,113,60,28,14
    PUSHBUTTON      "Delete All",IDC_EDITPICKMODEDELETEALL,147,60,40,14
    LTEXT           "Pick Mode",IDC_EDITPICKMODELABEL,10,64,96,8
    PUSHBUTTON      "Pick Edge",IDC_EDITPICKEDGE,4,80,40,14
    PUSHBUTTON      "New Edge",IDC_EDITNEWEDGE,48,80,40,14
    PUSHBUTTON      "Delete Vertex",IDC_EDITDELETEVERTEX,92,78,50,14
    PUSHBUTTON      "Divide Edge",IDC_EDITDIVIDEEDGE,148,78,44,14
    GROUPBOX        "Rotate Group",IDC_STATIC,6,102,108,66
    PUSHBUTTON      "Start",IDC_EDITROTATEGROUP,8,114,28,14
    PUSHBUTTON      "Okay",IDC_EDITROTATEOKAY,40,114,30,14
    PUSHBUTTON      "Cancel",IDC_EDITROTATECANCEL,74,114,32,14
    PUSHBUTTON      "Get",IDC_GETEDITROTATEANGLES,10,132,18,14
    PUSHBUTTON      "Set",IDC_SETEDITROTATEANGLES,90,132,17,14
    EDITTEXT        IDC_EDITROTATEXANGLE,30,132,18,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_EDITROTATEYANGLE,50,132,18,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_EDITROTATEZANGLE,70,132,16,14,ES_AUTOHSCROLL
    PUSHBUTTON      "-X",IDC_SETEDITROTATEXANGLE1,12,148,12,14
    PUSHBUTTON      "-Y",IDC_SETEDITROTATEYANGLE1,24,148,12,14
    PUSHBUTTON      "-Z",IDC_SETEDITROTATEZANGLE1,36,148,14,14
    PUSHBUTTON      "+X",IDC_SETEDITROTATEXANGLE2,70,150,14,14
    PUSHBUTTON      "+Y",IDC_SETEDITROTATEYANGLE2,84,150,14,14
    PUSHBUTTON      "+Z",IDC_SETEDITROTATEZANGLE2,96,150,14,14
    EDITTEXT        IDC_EDITROTATESTEPANGLE,50,148,18,14,ES_AUTOHSCROLL
    GROUPBOX        "Scale Group",IDC_STATIC,134,104,134,66
    PUSHBUTTON      "Start",IDC_EDITSCALEGROUP,136,116,28,14
    PUSHBUTTON      "Okay",IDC_EDITSCALEOKAY,168,116,30,14
    PUSHBUTTON      "Cancel",IDC_EDITSCALECANCEL,202,116,32,14
    PUSHBUTTON      "Get",IDC_GETEDITSCALEFACTORS,138,134,18,14
    PUSHBUTTON      "Set",IDC_SETEDITSCALEFACTORS,218,134,17,14
    EDITTEXT        IDC_EDITSCALEXFACTOR,158,134,18,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_EDITSCALEYFACTOR,178,134,18,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_EDITSCALEZFACTOR,198,134,16,14,ES_AUTOHSCROLL
    PUSHBUTTON      "-X",IDC_SETEDITSCALEXFACTOR1,140,150,12,14
    PUSHBUTTON      "-Y",IDC_SETEDITSCALEYFACTOR1,152,150,12,14
    PUSHBUTTON      "-Z",IDC_SETEDITSCALEZFACTOR1,164,150,14,14
    PUSHBUTTON      "+X",IDC_SETEDITSCALEXFACTOR2,222,152,14,14
    PUSHBUTTON      "+Y",IDC_SETEDITSCALEYFACTOR2,236,152,14,14
    PUSHBUTTON      "+Z",IDC_SETEDITSCALEZFACTOR2,248,152,14,14
    EDITTEXT        IDC_EDITSCALESTEPFACTOR,202,150,18,14,ES_AUTOHSCROLL
    PUSHBUTTON      "-XYZ",IDC_SETEDITSCALEXYZFACTOR1,178,150,21,14
    PUSHBUTTON      "+XYZ",IDC_SETEDITSCALEXYZFACTOR2,236,134,21,14
    CONTROL         "Display Grid",IDC_EDITDISPLAYGRID,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,4,170,53,10
    EDITTEXT        IDC_EDITGRIDSIZE,60,168,28,14,ES_AUTOHSCROLL
    CONTROL         "Snap To Grid",IDC_EDITSNAPTOGRID,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,92,170,58,10
    PUSHBUTTON      "Flip X",IDC_EDITFLIPX,6,184,32,14
    PUSHBUTTON      "Flip Y",IDC_EDITFLIPY,44,184,31,14
    PUSHBUTTON      "Flip Z",IDC_EDITFLIPZ,82,186,27,14
    GROUPBOX        "Vertex Snap",IDC_STATIC,200,38,78,64
    PUSHBUTTON      "Start",IDC_EDITVERTEXSNAPSTART,204,52,30,14
    PUSHBUTTON      "Show All",IDC_EDITVERTEXSNAPSHOWALL,238,50,36,14
    PUSHBUTTON      "Okay",IDC_EDITVERTEXSNAPOKAY,204,84,27,14
    PUSHBUTTON      "Cancel",IDC_EDITVERTEXSNAPCANCEL,234,84,30,14
    CONTROL         "Use Upper Faces",IDC_EDITUPPERFACES,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,4,204,71,10
    CONTROL         "Use Upper Bevels",IDC_EDITUPPERBEVELS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,4,220,73,10
    CONTROL         "Use Lower Faces",IDC_EDITLOWERFACES,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,80,206,71,10
    CONTROL         "Use Lower Bevels",IDC_EDITLOWERBEVELS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,82,222,73,10
    PUSHBUTTON      "Switch Upper",IDC_EDITSWITCHUPPER,4,236,50,14
    PUSHBUTTON      "Switch Lower",IDC_EDITSWITCHLOWER,58,236,50,14
    PUSHBUTTON      "Move Bevel Zero",IDC_EDITMOVEBEVELZERO,4,254,65,14
    PUSHBUTTON      "Switch Bevels Outlines",IDC_EDITSWITCH,74,254,81,14
    PUSHBUTTON      "Reduce Vertices",IDC_EDITREDUCEVERTICES,112,236,62,14
    PUSHBUTTON      "Open Outline",IDC_EDITOPENOUTLINE,4,270,50,14
    PUSHBUTTON      "Close Outline",IDC_EDITCLOSEOUTLINE,4,286,50,14
    PUSHBUTTON      "Pick Solid",IDC_EDITPICKSOLID,60,272,42,14
    PUSHBUTTON      "Pick Wire",IDC_EDITPICKWIRE,60,288,42,14
    PUSHBUTTON      "Other Solid",IDC_EDITOTHERSOLID,106,270,46,14
    PUSHBUTTON      "Other Wire",IDC_EDITOTHERWIRE,106,286,46,14
    PUSHBUTTON      "Undo Selected",IDC_EDITUNDOSELECTED,4,306,55,14
    PUSHBUTTON      "Undo Layer",IDC_EDITUNDOLAYER,62,306,50,14
    PUSHBUTTON      "Undo All Layers",IDC_EDITUNDOALLLAYERS,118,306,59,14
    GROUPBOX        "",IDC_STATIC,164,250,70,44
    PUSHBUTTON      "Pick Ghost",IDC_EDITPICKGHOST,168,258,50,14
    PUSHBUTTON      "Okay",IDC_EDITGHOSTOKAY,168,276,23,14
    PUSHBUTTON      "Cancel",IDC_EDITGHOSTCANCEL,196,276,31,14
    PUSHBUTTON      "Ghost On",IDC_EDITGHOSTON,238,256,36,14
    PUSHBUTTON      "Ghost Off",IDC_EDITGHOSTOFF,236,276,38,14
    GROUPBOX        "",IDC_STATIC,216,294,64,38
    CONTROL         "Local Axis",IDC_EDITLOCALAXIS,"Button",BS_AUTORADIOBUTTON | WS_GROUP,220,302,48,10
    CONTROL         "World Axis",IDC_EDITWORLDAXIS,"Button",BS_AUTORADIOBUTTON,222,318,49,10
    GROUPBOX        "",IDC_STATIC,168,170,112,64
    PUSHBUTTON      "Get Up",IDC_EDITGETUPPER,172,178,50,14
    PUSHBUTTON      "Clear Up",IDC_EDITCLEARUPPER,172,196,50,14
    PUSHBUTTON      "Set Up",IDC_EDITSETUPPER,172,214,50,14
    PUSHBUTTON      "Get Low",IDC_EDITGETLOWER,226,178,50,14
    PUSHBUTTON      "Clear Low",IDC_EDITCLEARLOWER,226,196,50,14
    PUSHBUTTON      "Set Low",IDC_EDITSETLOWER,226,214,50,14
    CONTROL         "Divide",IDC_EDITDIVIDE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,118,188,36,10
    CONTROL         "Keep Relative",IDC_EDITSNAPKEEPRELATIVE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,208,68,61,10
    GROUPBOX        "",IDC_STATIC,4,318,198,28
    PUSHBUTTON      "Select Layer",IDC_EDITSELECTLAYER,8,326,50,14
    EDITTEXT        IDC_EDITNAME,62,326,132,14,ES_AUTOHSCROLL | ES_READONLY
    GROUPBOX        "Move Vertex",IDC_STATIC,4,346,276,34
    PUSHBUTTON      "Get",IDC_GETEDITMOVEVERTEX,8,358,18,14
    PUSHBUTTON      "Set",IDC_SETEDITMOVEVERTEX,156,358,17,14
    EDITTEXT        IDC_EDITMOVEVERTEXX,26,358,40,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_EDITMOVEVERTEXY,70,358,40,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_EDITMOVEVERTEXZ,114,358,40,14,ES_AUTOHSCROLL
    PUSHBUTTON      "-X",IDC_EDITMOVEVERTEXX1,178,358,12,14
    PUSHBUTTON      "-Y",IDC_EDITMOVEVERTEXY1,190,358,12,14
    PUSHBUTTON      "-Z",IDC_EDITMOVEVERTEXZ1,202,358,14,14
    PUSHBUTTON      "+X",IDC_EDITMOVEVERTEXX2,236,360,14,14
    PUSHBUTTON      "+Y",IDC_EDITMOVEVERTEXY2,250,360,14,14
    PUSHBUTTON      "+Z",IDC_EDITMOVEVERTEXZ2,262,360,14,14
    EDITTEXT        IDC_EDITMOVEVERTEXSTEP,216,358,18,14,ES_AUTOHSCROLL
    PUSHBUTTON      "Make Bevel Sets",IDC_EDITMAKEBEVELSETS,180,236,64,14
    PUSHBUTTON      "Switch",IDC_EDITPICKMODESWITCHFIRST,145,44,40,14
END

IDD_CONVERT1PAGE DIALOG  0, 0, 244, 329
STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Convert"
FONT 8, "MS Sans Serif"
BEGIN
    GROUPBOX        "Min - Max",IDC_STATIC,2,2,128,80
    LTEXT           "X",IDC_STATIC,6,14,8,8
    LTEXT           "Y",IDC_STATIC,6,30,8,8
    LTEXT           "Z",IDC_STATIC,6,48,8,8
    EDITTEXT        IDC_CONVERT1_MINX,18,12,52,14,ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        IDC_CONVERT1_MINY,18,30,52,14,ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        IDC_CONVERT1_MINZ,18,46,52,14,ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        IDC_CONVERT1_MAXX,74,12,50,14,ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        IDC_CONVERT1_MAXY,74,30,50,14,ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        IDC_CONVERT1_MAXZ,74,46,50,14,ES_AUTOHSCROLL | ES_READONLY
    PUSHBUTTON      "Get Size",IDC_CONVERT1_GETSIZE,18,64,45,14
    GROUPBOX        "Size",IDC_STATIC,134,2,102,60
    LTEXT           "Width (X)",IDC_STATIC,136,14,30,8
    LTEXT           "Depth (Y)",IDC_STATIC,138,28,31,8
    LTEXT           "Height (Z)",IDC_STATIC,138,46,32,8
    EDITTEXT        IDC_CONVERT1_SIZEX,176,10,52,14,ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        IDC_CONVERT1_SIZEY,176,28,52,14,ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        IDC_CONVERT1_SIZEZ,176,44,52,14,ES_AUTOHSCROLL | ES_READONLY
    GROUPBOX        "New Size",IDC_STATIC,136,66,102,52
    LTEXT           "Width (X)",IDC_STATIC,142,80,30,8
    LTEXT           "Depth (Y)",IDC_STATIC,142,98,31,8
    EDITTEXT        IDC_CONVERT1_NEWSIZEX,180,80,52,14,ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        IDC_CONVERT1_NEWSIZEY,180,98,52,14,ES_AUTOHSCROLL | ES_READONLY
    GROUPBOX        "Grid Spacing",IDC_STATIC,4,84,68,64
    EDITTEXT        IDC_CONVERT1_XSPACING,20,96,46,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_CONVERT1_YSPACING,20,112,46,14,ES_AUTOHSCROLL
    LTEXT           "X",IDC_STATIC,8,98,8,8
    LTEXT           "Y",IDC_STATIC,8,114,8,8
    PUSHBUTTON      "Calculate",IDC_CONVERT1_CALCULATE,14,130,50,14
    GROUPBOX        "Vertex Count",IDC_STATIC,4,154,90,66
    LTEXT           "X",IDC_STATIC,10,168,8,8
    LTEXT           "Y",IDC_STATIC,10,184,8,8
    LTEXT           "Total",IDC_STATIC,10,202,22,8
    EDITTEXT        IDC_CONVERT1_XCOUNT,36,166,52,14,ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        IDC_CONVERT1_YCOUNT,36,184,52,14,ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        IDC_CONVERT1_VERTCOUNT,36,200,52,14,ES_AUTOHSCROLL | ES_READONLY
    GROUPBOX        "Stretch",IDC_STATIC,6,224,90,48
    CONTROL         "X",IDC_CONVERT1_FLAGSTRETCHX,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,10,236,21,10
    CONTROL         "Y",IDC_CONVERT1_FLAGSTRETCHY,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,10,254,21,10
    EDITTEXT        IDC_CONVERT1_EDITSTRETCHX,36,234,52,14,ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        IDC_CONVERT1_EDITSTRETCHY,36,252,52,14,ES_AUTOHSCROLL | ES_READONLY
    CONTROL         "Write XYZ file",IDC_CONVERT1_WRITEXYZ,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,6,280,59,10
    PUSHBUTTON      "Convert Mesh To Landscape",IDC_CONVERT1_MESHTOLANDSCAPE,6,296,102,14
    GROUPBOX        "Convert",IDC_STATIC,124,122,114,202
    CONTROL         "Keep original meshes",IDC_CONVERT1_KEEPORIGINAL,"Button",BS_AUTORADIOBUTTON | WS_GROUP,130,136,83,10
    CONTROL         "Add point cloud",IDC_CONVERT1_ADDPOINTCLOUD,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,138,150,65,10
    CONTROL         "Convert to landscape",IDC_CONVERT1_LANDSCAPE,"Button",BS_AUTORADIOBUTTON,128,164,83,10
    CONTROL         "Convert to mesh",IDC_CONVERT1_MESH,"Button",BS_AUTORADIOBUTTON,128,178,67,10
    EDITTEXT        IDC_CONVERT1_MESHVERTICES,152,192,74,14,ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        IDC_CONVERT1_MESHEDGES,152,210,74,14,ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        IDC_CONVERT1_MESHTRIANGLES,152,226,74,14,ES_AUTOHSCROLL | ES_READONLY
    LTEXT           "V",IDC_STATIC,138,194,8,8
    LTEXT           "E",IDC_STATIC,138,212,8,8
    LTEXT           "T",IDC_STATIC,138,228,8,8
    CONTROL         "Drop lowest faces",IDC_CONVERT1_DROPFACES,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,138,244,73,10
    EDITTEXT        IDC_CONVERT1_DROPELEVATION,154,260,72,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_CONVERT1_BASETHICKNESS,156,292,70,14,ES_AUTOHSCROLL
    CONTROL         "Add a base",IDC_CONVERT1_ADDBASE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,140,280,52,10
    CONTROL         "Add UV",IDC_CONVERT1_ADDUV,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,142,310,41,10
END

IDD_EXTRUDE2DPAGE DIALOG  0, 0, 250, 316
STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Extrude 2D"
FONT 8, "MS Sans Serif"
BEGIN
    PUSHBUTTON      "Extrude Pseudo 2D Surface Start",IDC_EXTRUDE2D_START,12,4,160,14
    EDITTEXT        IDC_EXTRUDE2D_LAYERNAME,12,22,160,14,ES_AUTOHSCROLL | ES_READONLY
    PUSHBUTTON      "Get Next Layer",IDC_EXTRUDE2D_GETNEXTLAYER,52,40,80,14
    GROUPBOX        "Min - Max",IDC_STATIC,10,60,170,66
    LTEXT           "X",IDC_STATIC,18,72,8,8
    LTEXT           "Y",IDC_STATIC,18,90,8,8
    LTEXT           "Z",IDC_STATIC,18,106,8,8
    EDITTEXT        IDC_EXTRUDE2D_MINX,30,72,68,14,ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        IDC_EXTRUDE2D_MINY,30,88,66,14,ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        IDC_EXTRUDE2D_MINZ,30,104,66,14,ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        IDC_EXTRUDE2D_MAXX,104,70,70,14,ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        IDC_EXTRUDE2D_MAXY,104,86,70,14,ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        IDC_EXTRUDE2D_MAXZ,104,102,70,14,ES_AUTOHSCROLL | ES_READONLY
    GROUPBOX        "",IDC_STATIC,12,132,110,84
    LTEXT           "X",IDC_STATIC,20,142,8,8
    LTEXT           "Y",IDC_STATIC,20,160,8,8
    LTEXT           "Z",IDC_STATIC,20,176,8,8
    EDITTEXT        IDC_EXTRUDE2D_XROTATION,32,142,28,14,ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        IDC_EXTRUDE2D_YROTATION,32,158,28,14,ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        IDC_EXTRUDE2D_ZROTATION,32,174,28,14,ES_AUTOHSCROLL | ES_READONLY
    PUSHBUTTON      "Mark",IDC_EXTRUDE2D_MARKROTATIONS,66,142,50,14
    PUSHBUTTON      "Clear",IDC_EXTRUDE2D_CLEARROTATIONS,66,164,50,14
    PUSHBUTTON      "-X",IDC_EXTRUDE2D_XROTATE1,18,194,12,14
    PUSHBUTTON      "-Y",IDC_EXTRUDE2D_YROTATE1,30,194,12,14
    PUSHBUTTON      "-Z",IDC_EXTRUDE2D_ZROTATE1,42,194,14,14
    PUSHBUTTON      "+X",IDC_EXTRUDE2D_XROTATE2,76,194,14,14
    PUSHBUTTON      "+Y",IDC_EXTRUDE2D_YROTATE2,90,194,14,14
    PUSHBUTTON      "+Z",IDC_EXTRUDE2D_ZROTATE2,102,194,14,14
    EDITTEXT        IDC_EXTRUDE2D_STEPANGLE,56,194,18,14,ES_AUTOHSCROLL
    GROUPBOX        "",IDC_STATIC,126,138,114,46
    LTEXT           "Thickness",IDC_STATIC,132,148,34,8
    LTEXT           "Adjust Location",IDC_STATIC,130,166,50,8
    EDITTEXT        IDC_EXTRUDE2D_THICKNESS,186,146,48,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_EXTRUDE2D_ADJUSTLOCATION,188,162,46,14,ES_AUTOHSCROLL
    GROUPBOX        "",IDC_STATIC,126,188,62,52
    CONTROL         "Normal",IDC_EXTRUDE2D_NORMAL,"Button",BS_AUTORADIOBUTTON | WS_GROUP,130,198,38,10
    CONTROL         "Flat Top",IDC_EXTRUDE2D_FLATTOP,"Button",BS_AUTORADIOBUTTON,130,210,42,10
    CONTROL         "Flat Bottom",IDC_EXTRUDE2D_FLATBOTTOM,"Button",BS_AUTORADIOBUTTON,130,224,51,10
    PUSHBUTTON      "Extrude",IDC_EXTRUDE2D_EXTRUDE,194,192,50,14
    PUSHBUTTON      "Redo",IDC_EXTRUDE2D_REDO,194,212,50,14
    PUSHBUTTON      "Undo",IDC_EXTRUDE2D_UNDO,194,230,50,14
    PUSHBUTTON      "Extrude Pseudo 2D Surface Stop",IDC_EXTRUDE2D_STOP,20,248,158,14
END

IDD_XYZPAGE DIALOGEX 0, 0, 274, 348
STYLE DS_SETFONT | WS_CHILD | WS_CAPTION
CAPTION "XYZ"
FONT 8, "MS Sans Serif", 0, 0, 0x0
BEGIN
    CONTROL         "Do not use 'Open XYZ' dialog box",IDC_XYZSKIPDLG,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,4,4,123,10
    GROUPBOX        "XYZ Type",IDC_STATIC,4,20,80,42
    CONTROL         "Mesh",IDC_XYZMESHTYPE,"Button",BS_AUTORADIOBUTTON | WS_GROUP,8,32,33,10
    CONTROL         "Scan",IDC_XYZSCANTYPE,"Button",BS_AUTORADIOBUTTON,48,32,33,10
    GROUPBOX        "File Type",IDC_STATIC,4,74,80,26
    CONTROL         "ASCII",IDC_XYZASCIITYPE,"Button",BS_AUTORADIOBUTTON | WS_GROUP,8,84,34,10
    CONTROL         "Binary",IDC_XYZBINARYTYPE,"Button",BS_AUTORADIOBUTTON,44,84,35,10
    GROUPBOX        "Binary File",IDC_STATIC,88,20,144,56
    GROUPBOX        "Byte Order",IDC_STATIC,94,32,54,38
    CONTROL         "Intel",IDC_XYZINTEL,"Button",BS_AUTORADIOBUTTON | WS_GROUP,98,42,29,10
    CONTROL         "Motorola",IDC_XYZMOTOROLA,"Button",BS_AUTORADIOBUTTON,98,54,43,10
    GROUPBOX        "Floating Point Type",IDC_STATIC,150,30,78,40
    CONTROL         "Float (4 bytes)",IDC_XYZFLOATTYPE,"Button",BS_AUTORADIOBUTTON | WS_GROUP,154,40,60,10
    CONTROL         "Double (8 bytes)",IDC_XYZDOUBLETYPE,"Button",BS_AUTORADIOBUTTON,154,54,67,10
    GROUPBOX        "XYZ plus ID",IDC_STATIC,8,104,94,40
    CONTROL         "Each vertex has ID",IDC_XYZHASID,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,116,77,10
    CONTROL         "Use ID as layer name",IDC_XYZUSEID,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,130,83,10
    GROUPBOX        "Axis System",IDC_STATIC,108,84,124,26
    CONTROL         "CAD RHS",IDC_XYZAXIS1,"Button",BS_AUTORADIOBUTTON | WS_GROUP,114,96,48,10
    CONTROL         "LHS",IDC_XYZAXIS2,"Button",BS_AUTORADIOBUTTON,164,96,30,10
    CONTROL         "RHS",IDC_XYZAXIS3,"Button",BS_AUTORADIOBUTTON,196,96,31,10
    GROUPBOX        "Mesh",IDC_STATIC,7,152,80,50
    LTEXT           "Rows",IDC_STATIC,11,166,19,8
    LTEXT           "Columns",IDC_STATIC,9,182,28,8
    EDITTEXT        IDC_XYZROWS,41,162,40,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_XYZCOLUMNS,41,180,40,14,ES_AUTOHSCROLL
    GROUPBOX        "Data Stored By",IDC_STATIC,7,209,64,40
    CONTROL         "Row",IDC_XYZBYROW,"Button",BS_AUTORADIOBUTTON | WS_GROUP,13,221,31,10
    CONTROL         "Column",IDC_XYZBYCOLUMN,"Button",BS_AUTORADIOBUTTON,13,233,39,10
    GROUPBOX        "",IDC_STATIC,8,254,98,42
    CONTROL         "Scale Z Coordinate",IDC_XYZSCALEZ,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,262,77,10
    LTEXT           "Scale Factor",IDC_STATIC,14,278,41,8
    EDITTEXT        IDC_XYZSCALEFACTORZ,60,276,40,14,ES_AUTOHSCROLL
    GROUPBOX        "",IDC_STATIC,109,130,124,74
    CONTROL         "Read Clip",IDC_XYZREADCLIP,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,113,140,47,10
    LTEXT           "From",IDC_STATIC,115,166,16,8
    LTEXT           "To",IDC_STATIC,115,183,10,8
    LTEXT           "Rows",IDC_STATIC,149,151,19,8
    LTEXT           "Columns",IDC_STATIC,191,150,28,8
    EDITTEXT        IDC_XYZFROMROW,139,162,40,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_XYZTOROW,139,182,40,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_XYZFROMCOLUMN,187,162,40,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_XYZTOCOLUMN,187,182,40,14,ES_AUTOHSCROLL
    CONTROL         "Save as DXF polyline mesh",IDC_XYZSAVEASDXF,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,111,212,102,10
    GROUPBOX        "",IDC_STATIC,114,234,114,84
    CONTROL         "Use NoData",IDC_XYZUSENODATA,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,118,242,55,10
    EDITTEXT        IDC_XYZNODATAVALUE,176,242,40,14,ES_AUTOHSCROLL
    GROUPBOX        "",IDC_STATIC,120,260,104,54
    CONTROL         "Delete NoData Triangles",IDC_XYZNODATAREPLACE1,"Button",BS_AUTORADIOBUTTON | WS_GROUP,126,270,94,10
    CONTROL         "Use Minimum Valid Z",IDC_XYZNODATAREPLACE2,"Button",BS_AUTORADIOBUTTON,126,282,82,10
    CONTROL         "Use ->",IDC_XYZNODATAREPLACE3,"Button",BS_AUTORADIOBUTTON,126,296,37,10
    EDITTEXT        IDC_XYZNODATAREPLACEVALUE,166,294,40,14,ES_AUTOHSCROLL
    CONTROL         "Double Z Scan",IDC_XYZDOUBLEZTYPE,"Button",BS_AUTORADIOBUTTON,7,47,64,10
END

IDD_KERKYTHEA DIALOG  0, 0, 274, 374
STYLE DS_SETFONT | WS_CHILD | WS_CAPTION
CAPTION "Kerkythea"
FONT 8, "MS Sans Serif"
BEGIN
    CONTROL         "Emissive As Radiance",IDC_KERKYTHEAUSERADIANCE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,4,6,86,10
    CONTROL         "Radiance As Emitter",IDC_KERKYTHEARADIANCEASEMITTER,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,4,18,80,10
    PUSHBUTTON      "Get From DLL",IDC_KERKYTHEAGETDATA,110,2,60,14
    PUSHBUTTON      "Send To DLL",IDC_KERKYTHEASETDATA,188,2,56,14
    GROUPBOX        "Directional Lights",IDC_STATIC,6,32,238,100
    GROUPBOX        "Save As",IDC_STATIC,10,42,58,52
    CONTROL         "Omni Light",IDC_KERKYTHEADIRECTIONALASOMNI,"Button",BS_AUTORADIOBUTTON | WS_GROUP,14,54,49,10
    CONTROL         "Sun",IDC_KERKYTHEADIRECTIONALASSUN,"Button",BS_AUTORADIOBUTTON,14,66,29,10
    CONTROL         "Spot Light",IDC_KERKYTHEADIRECTIONALASSPOT,"Button",BS_AUTORADIOBUTTON,14,78,48,10
    GROUPBOX        "Attenuation",IDC_STATIC,74,42,70,52
    CONTROL         "None",IDC_KERKYTHEADIRECTIONALATTENUATION1,"Button",BS_AUTORADIOBUTTON | WS_GROUP,78,54,33,10
    CONTROL         "Inverse",IDC_KERKYTHEADIRECTIONALATTENUATION2,"Button",BS_AUTORADIOBUTTON,78,66,39,10
    CONTROL         "Inverse Square",IDC_KERKYTHEADIRECTIONALATTENUATION3,
                    "Button",BS_AUTORADIOBUTTON,78,78,64,10
    GROUPBOX        "Spot Light",IDC_STATIC,152,42,86,48
    LTEXT           "Fall Off",IDC_STATIC,156,54,23,8
    LTEXT           "Hot Spot",IDC_STATIC,156,72,29,8
    EDITTEXT        IDC_KERKYTHEADIRECTIONALFALLOFF,192,52,40,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_KERKYTHEADIRECTIONALHOTSPOT,192,70,40,14,ES_AUTOHSCROLL
    LTEXT           "Multiplier",IDC_STATIC,10,100,28,8
    EDITTEXT        IDC_KERKYTHEADIRECTIONALMULTIPLIER,46,98,40,14,ES_AUTOHSCROLL
    GROUPBOX        "Point Lights",IDC_STATIC,8,134,252,104
    CONTROL         "Up Direction Vector",IDC_KERKYTHEAPOINTUP,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,16,146,78,10
    LTEXT           "Multiplier",IDC_STATIC,16,163,28,8
    EDITTEXT        IDC_KERKYTHEAPOINTMULTIPLIER,52,161,40,14,ES_AUTOHSCROLL
    GROUPBOX        "Attenuation",IDC_STATIC,16,180,70,52
    CONTROL         "None",IDC_KERKYTHEAPOINTATTENUATION1,"Button",BS_AUTORADIOBUTTON | WS_GROUP,20,193,33,10
    CONTROL         "Inverse",IDC_KERKYTHEAPOINTATTENUATION2,"Button",BS_AUTORADIOBUTTON,20,206,39,10
    CONTROL         "Inverse Square",IDC_KERKYTHEAPOINTATTENUATION3,"Button",BS_AUTORADIOBUTTON,20,217,64,10
    GROUPBOX        "Spot Light",IDC_STATIC,96,146,88,68
    LTEXT           "Fall Off",IDC_STATIC,100,177,23,8
    LTEXT           "Hot Spot",IDC_STATIC,100,194,29,8
    EDITTEXT        IDC_KERKYTHEAPOINTFALLOFF,136,174,40,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_KERKYTHEAPOINTHOTSPOT,136,193,40,14,ES_AUTOHSCROLL
    CONTROL         "Save As Spot Light",IDC_KERKYTHEAPOINTASSPOT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,102,158,77,10
    GROUPBOX        "Spot Lights",IDC_STATIC,8,244,262,124
    LTEXT           "Multiplier",IDC_STATIC,14,260,28,8
    EDITTEXT        IDC_KERKYTHEASPOTMULTIPLIER,50,258,40,14,ES_AUTOHSCROLL
    GROUPBOX        "Attenuation",IDC_STATIC,14,279,70,50
    CONTROL         "None",IDC_KERKYTHEASPOTATTENUATION1,"Button",BS_AUTORADIOBUTTON | WS_GROUP,18,290,33,10
    CONTROL         "Inverse",IDC_KERKYTHEASPOTATTENUATION2,"Button",BS_AUTORADIOBUTTON,18,303,39,10
    CONTROL         "Inverse Square",IDC_KERKYTHEASPOTATTENUATION3,"Button",BS_AUTORADIOBUTTON,18,314,64,10
    GROUPBOX        "",IDC_STATIC,96,252,94,60
    LTEXT           "Fall Off",IDC_STATIC,100,277,23,8
    LTEXT           "Hot Spot",IDC_STATIC,100,295,29,8
    EDITTEXT        IDC_KERKYTHEASPOTFALLOFF,136,274,40,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_KERKYTHEASPOTHOTSPOT,136,293,40,14,ES_AUTOHSCROLL
    CONTROL         "Replace existing with",IDC_KERKYTHEASPOTREPLACE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,102,258,83,10
    CONTROL         "Use Hot Spot Fraction",IDC_KERKYTHEAUSEHOTFRACTION,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,332,86,10
    LTEXT           "Hot Spot Fraction",IDC_STATIC,16,348,56,8
    EDITTEXT        IDC_KERKYTHEASPOTHOTFRACTION,78,346,40,14,ES_AUTOHSCROLL
    CONTROL         "Use PNG Alpha Masks",IDC_KERKYTHEAUSEPNGALPHAMASKS,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,112,18,89,10
    LTEXT           "Radius",IDC_STATIC,12,116,23,8
    EDITTEXT        IDC_KERKYTHEADIRECTIONALRADIUS,46,114,40,14,ES_AUTOHSCROLL
    CONTROL         "Shadow",IDC_KERKYTHEADIRECTIONALSHADOW,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,92,98,42,10
    CONTROL         "Soft Shadow",IDC_KERKYTHEADIRECTIONALSOFTSHADOW,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,92,110,57,10
    CONTROL         "Negative Light",IDC_KERKYTHEADIRECTIONALNEGATIVE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,162,90,62,10
    CONTROL         "Global Photons",IDC_KERKYTHEADIRECTIONALGLOBALPHOTONS,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,162,102,64,10
    CONTROL         "Caustic Photons",IDC_KERKYTHEADIRECTIONALCAUSTICPHOTONS,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,162,114,67,10
    LTEXT           "Radius",IDC_STATIC,100,220,23,8
    EDITTEXT        IDC_KERKYTHEAPOINTRADIUS,134,218,40,14,ES_AUTOHSCROLL
    CONTROL         "Shadow",IDC_KERKYTHEAPOINTSHADOW,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,188,144,42,10
    CONTROL         "Soft Shadow",IDC_KERKYTHEAPOINTSOFTSHADOW,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,188,156,57,10
    CONTROL         "Negative Light",IDC_KERKYTHEAPOINTNEGATIVE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,188,170,62,10
    CONTROL         "Global Photons",IDC_KERKYTHEAPOINTGLOBALPHOTONS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,188,182,64,10
    CONTROL         "Caustic Photons",IDC_KERKYTHEAPOINTCAUSTICPHOTONS,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,188,194,67,10
    LTEXT           "Radius",IDC_STATIC,108,321,23,8
    EDITTEXT        IDC_KERKYTHEASPOTRADIUS,142,318,40,14,ES_AUTOHSCROLL
    CONTROL         "Shadow",IDC_KERKYTHEASPOTSHADOW,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,196,254,42,10
    CONTROL         "Soft Shadow",IDC_KERKYTHEASPOTSOFTSHADOW,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,196,266,57,10
    CONTROL         "Negative Light",IDC_KERKYTHEASPOTNEGATIVE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,196,280,62,10
    CONTROL         "Global Photons",IDC_KERKYTHEASPOTGLOBALPHOTONS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,196,292,64,10
    CONTROL         "Caustic Photons",IDC_KERKYTHEASPOTCAUSTICPHOTONS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,196,304,67,10
END

IDD_BITMAPPAGE DIALOGEX 0, 0, 240, 458
STYLE DS_SETFONT | WS_CHILD | WS_CAPTION
CAPTION "Bitmap"
FONT 8, "MS Sans Serif", 0, 0, 0x0
BEGIN
    GROUPBOX        "Bitmap To 3D",IDC_STATIC,6,12,174,116
    CONTROL         "Do not use 'Convert Bitmap To 3D' dialog box",IDC_BITMAPTO3D_SKIPDLG,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,26,159,10
    CONTROL         "Decode Color Palette Index 0",IDC_BITMAPTO3D_DECODE0,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,40,109,10
    CONTROL         "Save Outlines as Polylines to a DXF file",IDC_BITMAPTO3D_SAVEOUTLINES,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,54,139,10
    CONTROL         "Add Faces to Outlines",IDC_BITMAPTO3D_ADDFACES,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,82,85,10
    CONTROL         "Extrude Outlines",IDC_BITMAPTO3D_EXTRUDE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,96,67,10
    GROUPBOX        "Bitmap To Landscape",IDC_STATIC,7,138,172,124
    CONTROL         "Do not use 'Convert Contour Map' dialog box",IDC_BITMAPTODEM_SKIPDLG,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,152,157,10
    CONTROL         "Place Sea Level at Color 4",IDC_BITMAPTODEM_SEALEVEL,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,166,100,10
    EDITTEXT        IDC_BITMAPTODEM_MULTIPLIER1,15,182,40,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_BITMAPTODEM_MULTIPLIER2,15,202,40,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_BITMAPTODEM_MINHEIGHT,15,222,40,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_BITMAPTODEM_SPACING,15,242,40,14,ES_AUTOHSCROLL
    LTEXT           "Multiplier 1 (Below Sea Level)",IDC_STATIC,61,186,94,8
    LTEXT           "Multiplier 2 (Above Sea Level)",IDC_STATIC,61,206,95,8
    LTEXT           "Minimum Height",IDC_STATIC,61,224,51,8
    LTEXT           "X and Y Spacing",IDC_STATIC,61,246,54,8
    EDITTEXT        IDC_BITMAPTO3D_EXTRUDEHEIGHT,14,109,40,14,ES_AUTOHSCROLL
    LTEXT           "Height of Extrusion",IDC_STATIC,60,111,60,8
    GROUPBOX        "Get OpenGL Snapshot",IDC_STATIC,7,268,210,158
    CONTROL         "",IDC_TEMPSNAPSHOTPANEL,"Static",SS_BLACKFRAME,15,295,196,125
    PUSHBUTTON      "Get OpenGL Snapshot",IDC_GETOGLSNAPSHOT,72,277,88,14
    CONTROL         "Join Inner Outlines To Outer Outline",IDC_BITMAPTO3D_JOINOUTLINES,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,68,128,10
END

IDD_KMLPAGE DIALOGEX 0, 0, 286, 393
STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "KML"
FONT 8, "MS Sans Serif", 0, 0, 0x0
BEGIN
    GROUPBOX        "KML Folder",IDC_STATIC,14,23,175,46
    LTEXT           "Name",IDC_STATIC,20,33,20,8
    LTEXT           "Description",IDC_STATIC,20,51,36,8
    EDITTEXT        IDC_KMLFOLDERNAME,63,31,120,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_KMLFOLDERDESCRIPTION,63,49,120,14,ES_AUTOHSCROLL
    GROUPBOX        "Placemark",IDC_STATIC,15,74,175,46
    LTEXT           "Name",IDC_STATIC,21,84,20,8
    LTEXT           "Description",IDC_STATIC,21,102,36,8
    EDITTEXT        IDC_KMLPLACEMARKNAME,64,82,120,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_KMLPLACEMARKDESCRIPTION,64,100,120,14,ES_AUTOHSCROLL
    GROUPBOX        "Look At",IDC_STATIC,14,124,231,84
    LTEXT           "Latitude",IDC_STATIC,18,137,26,8
    LTEXT           "Longitude",IDC_STATIC,19,154,32,8
    LTEXT           "Altitude",IDC_STATIC,18,172,24,8
    LTEXT           "Heading",IDC_STATIC,18,190,28,8
    LTEXT           "Tilt",IDC_STATIC,102,189,10,8
    LTEXT           "Range",IDC_STATIC,164,190,22,8
    EDITTEXT        IDC_KMLLOOKATLATITUDEDEGREES,56,133,40,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_KMLLOOKATLATITUDEMINUTES,101,133,40,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_KMLLOOKATLATITUDESECONDS,146,133,53,14,ES_AUTOHSCROLL
    CONTROL         "S",IDC_KMLLOOKATLATITUDESIGN,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,203,134,21,10
    EDITTEXT        IDC_KMLLOOKATLONGITUDEDEGREES,57,152,40,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_KMLLOOKATLONGITUDEMINUTES,102,152,40,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_KMLLOOKATLONGITUDESECONDS,147,152,53,14,ES_AUTOHSCROLL
    CONTROL         "W",IDC_KMLLOOKATLONGITUDESIGN,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,204,153,23,10
    EDITTEXT        IDC_KMLLOOKATALTITUDE,56,170,40,14,ES_AUTOHSCROLL
    COMBOBOX        IDC_KMLLOOKATALTITUDEMODE,102,170,124,87,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    EDITTEXT        IDC_KMLLOOKATHEADING,56,187,40,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_KMLLOOKATTILT,118,187,40,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_KMLLOOKATRANGE,191,187,40,14,ES_AUTOHSCROLL
    GROUPBOX        "Model",IDC_STATIC,15,214,231,156
    LTEXT           "Latitude",IDC_STATIC,19,227,26,8
    LTEXT           "Longitude",IDC_STATIC,20,244,32,8
    LTEXT           "Altitude",IDC_STATIC,19,262,24,8
    LTEXT           "Heading",IDC_STATIC,19,298,28,8
    LTEXT           "Tilt",IDC_STATIC,102,297,10,8
    LTEXT           "Roll",IDC_STATIC,165,298,13,8
    EDITTEXT        IDC_KMLMODELLATITUDEDEGREES,57,223,40,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_KMLMODELLATITUDEMINUTES,102,223,40,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_KMLMODELLATITUDESECONDS,147,223,53,14,ES_AUTOHSCROLL
    CONTROL         "S",IDC_KMLMODELLATITUDESIGN,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,204,224,21,10
    EDITTEXT        IDC_KMLMODELLONGITUDEDEGREES,58,242,40,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_KMLMODELLONGITUDEMINUTES,102,242,40,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_KMLMODELLONGITUDESECONDS,148,242,53,14,ES_AUTOHSCROLL
    CONTROL         "W",IDC_KMLMODELLONGITUDESIGN,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,204,243,23,10
    EDITTEXT        IDC_KMLMODELALTITUDE,57,260,40,14,ES_AUTOHSCROLL
    COMBOBOX        IDC_KMLMODELALTITUDEMODE,103,260,124,107,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    EDITTEXT        IDC_KMLMODELHEADING,54,295,32,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_KMLMODELTILT,119,295,32,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_KMLMODELROLL,192,295,32,14,ES_AUTOHSCROLL
    PUSHBUTTON      "Copy Latitude and Longitude to LookAt",IDC_KMLCOPYLATITUDELONGITUDE,18,279,141,14
    CONTROL         "Use folder for 3D models",IDC_KMLUSEMODELSFOLDER,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,18,331,93,10
    CONTROL         "Use folder for images",IDC_KMLUSEIMAGESFOLDER,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,18,351,82,10
    EDITTEXT        IDC_KMLMODELSFOLDERNAME,117,331,95,14,ES_AUTOHSCROLL
    EDITTEXT        IDC_KMLIMAGESFOLDERNAME,117,350,94,14,ES_AUTOHSCROLL
    PUSHBUTTON      "Get KML data to send to DLL",IDC_KMLGETDATAFORDLL,15,376,103,14
    PUSHBUTTON      "Get KML data from DLL",IDC_KMLGETDATAFROMDLL,16,5,91,14
    LTEXT           "Scale X",IDC_STATIC,21,315,26,8
    EDITTEXT        IDC_KMLMODELSCALEX,54,314,32,14,ES_AUTOHSCROLL
    LTEXT           "Scale Y",IDC_STATIC,92,317,26,8
    EDITTEXT        IDC_KMLMODELSCALEY,121,314,32,14,ES_AUTOHSCROLL
    LTEXT           "Scale Z",IDC_STATIC,161,316,26,8
    EDITTEXT        IDC_KMLMODELSCALEZ,193,314,32,14,ES_AUTOHSCROLL
END


/////////////////////////////////////////////////////////////////////////////
//
// Version
//

VS_VERSION_INFO VERSIONINFO
 FILEVERSION 1,0,0,1
 PRODUCTVERSION 1,0,0,1
 FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
 FILEFLAGS 0x1L
#else
 FILEFLAGS 0x0L
#endif
 FILEOS 0x4L
 FILETYPE 0x1L
 FILESUBTYPE 0x0L
BEGIN
    BLOCK "StringFileInfo"
    BEGIN
        BLOCK "040904B0"
        BEGIN
            VALUE "FileDescription", "MSVC_Test_At3dx_Dll MFC Application"
            VALUE "FileVersion", "1, 0, 0, 1"
            VALUE "InternalName", "MSVC_Test_At3dx_Dll"
            VALUE "LegalCopyright", "Copyright (C) 2002"
            VALUE "OriginalFilename", "MSVC_Test_At3dx_Dll.EXE"
            VALUE "ProductName", "MSVC_Test_At3dx_Dll Application"
            VALUE "ProductVersion", "1, 0, 0, 1"
        END
    END
    BLOCK "VarFileInfo"
    BEGIN
        VALUE "Translation", 0x409, 1200
    END
END


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

#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO 
BEGIN
    IDD_ABOUTBOX, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 228
        TOPMARGIN, 7
        BOTTOMMARGIN, 48
    END

    IDD_READPAGE, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 269
        TOPMARGIN, 7
        BOTTOMMARGIN, 458
    END

    IDD_VIEWPAGE, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 265
        TOPMARGIN, 7
        BOTTOMMARGIN, 506
    END

    IDD_WRITEPAGE, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 213
        TOPMARGIN, 7
        BOTTOMMARGIN, 483
    END

    IDD_TRANSFERPAGE, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 241
        TOPMARGIN, 7
        BOTTOMMARGIN, 408
    END

    IDD_ALIGNPAGE, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 173
        TOPMARGIN, 7
        BOTTOMMARGIN, 253
    END

    IDD_TEXTPAGE, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 202
        TOPMARGIN, 7
        BOTTOMMARGIN, 428
    END

    IDD_OBJECTPAGE, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 267
        TOPMARGIN, 7
        BOTTOMMARGIN, 437
    END

    IDD_DEFAULTPAGE, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 252
        TOPMARGIN, 7
        BOTTOMMARGIN, 418
    END

    IDD_DEMPAGE, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 263
        TOPMARGIN, 7
        BOTTOMMARGIN, 285
    END

    IDD_EDITPAGE, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 277
        TOPMARGIN, 7
        BOTTOMMARGIN, 375
    END

    IDD_CONVERT1PAGE, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 237
        TOPMARGIN, 7
        BOTTOMMARGIN, 322
    END

    IDD_EXTRUDE2DPAGE, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 243
        TOPMARGIN, 7
        BOTTOMMARGIN, 309
    END

    IDD_XYZPAGE, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 267
        TOPMARGIN, 7
        BOTTOMMARGIN, 341
    END

    IDD_KERKYTHEA, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 267
        TOPMARGIN, 7
        BOTTOMMARGIN, 367
    END

    IDD_BITMAPPAGE, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 233
        TOPMARGIN, 7
        BOTTOMMARGIN, 451
    END

    IDD_KMLPAGE, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 279
        TOPMARGIN, 7
        BOTTOMMARGIN, 386
    END
END
#endif    // APSTUDIO_INVOKED


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

BACKD                   BITMAP                  "res\\backd.bmp"
BACKU                   BITMAP                  "res\\backu.bmp"
BOTTOMD                 BITMAP                  "res\\bottomd.bmp"
BOTTOMU                 BITMAP                  "res\\bottomu.bmp"
CENTERXD                BITMAP                  "res\\centerxd.bmp"
CENTERXU                BITMAP                  "res\\centerxu.bmp"
CENTERZD                BITMAP                  "res\\centerzd.bmp"
CENTERZU                BITMAP                  "res\\centerzu.bmp"
FRONTD                  BITMAP                  "res\\frontd.bmp"
FRONTU                  BITMAP                  "res\\frontu.bmp"
LEFTD                   BITMAP                  "res\\leftd.bmp"
LEFTU                   BITMAP                  "res\\leftu.bmp"
RIGHTD                  BITMAP                  "res\\rightd.bmp"
RIGHTU                  BITMAP                  "res\\rightu.bmp"
SHADEDD                 BITMAP                  "res\\shadedd.bmp"
SHADEDU                 BITMAP                  "res\\shadedu.bmp"
SOLIDD                  BITMAP                  "res\\solidd.bmp"
SOLIDU                  BITMAP                  "res\\solidu.bmp"
TOPD                    BITMAP                  "res\\topd.bmp"
TOPU                    BITMAP                  "res\\topu.bmp"
WIREFRAMED              BITMAP                  "res\\wireframed.bmp"
WIREFRAMEU              BITMAP                  "res\\wireframeu.bmp"
ZOOMIND                 BITMAP                  "res\\zoomind.bmp"
ZOOMINU                 BITMAP                  "res\\zoominu.bmp"
ZOOMOUTD                BITMAP                  "res\\zoomoutd.bmp"
ZOOMOUTU                BITMAP                  "res\\zoomoutu.bmp"
ZOOMRESETD              BITMAP                  "res\\zoomresetd.bmp"
ZOOMRESETU              BITMAP                  "res\\zoomresetu.bmp"
COLORPICKERU            BITMAP                  "res\\colorpickeru.bmp"
COLORPICKERD            BITMAP                  "res\\colorpickerd.bmp"

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

STRINGTABLE 
BEGIN
    IDR_MAINFRAME           "MSVC_Test_At3dx_Dll"
END

STRINGTABLE 
BEGIN
    AFX_IDS_APP_TITLE       "MSVC_Test_At3dx_Dll"
    AFX_IDS_IDLEMESSAGE     "Ready"
END

STRINGTABLE 
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 
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 
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 
BEGIN
    ID_WINDOW_SPLIT         "Split the active window into panes\nSplit"
END

STRINGTABLE 
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 
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 
BEGIN
    AFX_IDS_SCRESTORE       "Restore the window to normal size"
    AFX_IDS_SCTASKLIST      "Activate Task List"
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\MSVC_Test_At3dx_Dll.rc2"  // non-Microsoft Visual C++ edited resources
#include "afxres.rc"         // Standard components
#endif

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

