Click here to Skip to main content
11,576,993 members (61,692 online)
Click here to Skip to main content
Articles » Multimedia » OpenGL » General » Downloads
Add your own
alternative version

OpenGL Win32 AppWizard

, 19 May 2003 393.5K 20.5K 108
This Custom AppWizard for VC++ 6.0 or VC++.NET creates an OpenGL enabled Win32 application suitable for demos and simple games.
oglwiz7.zip
OGLWiz7
1033
HTML
1033
Images
OGLWiz7.gif
OGLWiz7_Background.gif
Scripts
1033
Templates
1033
Templates.inf
res
Mainicon.ico
OGLWiz7.ico
OGLWiz7.vsdir
OGLWiz7.vsz
oglwiz_bin.zip
OGLWiz.awx
OGLWIZ.HLP
oglwiz_src.zip
res
OGLWiz.ico
Template
newproj.inf
confirm.inf
res
SDKTest.ICO
small.ico
hlp
OGLWiz.hpj
OGLWiz.rtf
OGLWiz.hm
OGLWIZ.HLP
OGLWiz.clv
OGLWiz.dsp
OGLWiz.dsw
//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

/////////////////////////////////////////////////////////////////////////////
// Swedish resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_SVE)
#ifdef _WIN32
LANGUAGE LANG_SWEDISH, SUBLANG_DEFAULT
#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"
    "#include ""afxres.rc""  // Standard components\r\n"
    "\0"
END

#endif    // APSTUDIO_INVOKED


#ifndef _MAC
/////////////////////////////////////////////////////////////////////////////
//
// 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 0x2L
 FILESUBTYPE 0x0L
BEGIN
    BLOCK "StringFileInfo"
    BEGIN
        BLOCK "040904B0"
        BEGIN
            VALUE "CompanyName", "\0"
            VALUE "FileDescription", "OGLWIZ AppWizard\0"
            VALUE "FileVersion", "1, 0, 0, 1\0"
            VALUE "InternalName", "OGLWIZ\0"
            VALUE "LegalCopyright", "Copyright � 2001\0"
            VALUE "LegalTrademarks", "\0"
            VALUE "OriginalFilename", "OGLWIZ.DLL\0"
            VALUE "ProductName", "OpenGL Win32 Application\0"
            VALUE "ProductVersion", "1, 0, 0, 1\0"
        END
    END
    BLOCK "VarFileInfo"
    BEGIN
        VALUE "Translation", 0x409, 1200
    END
END

#endif    // !_MAC


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

IDD_CUSTOM1 DIALOGEX 0, 0, 311, 190
STYLE DS_CONTROL | WS_CHILD | WS_TABSTOP
FONT 8, "MS Sans Serif"
BEGIN
    CONTROL         "&Menu",IDC_CHK_MENU,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,12,18,136,10
    CONTROL         "&Keyboard accelerator",IDC_CHK_ACCEL,"Button",
                    BS_AUTOCHECKBOX | WS_TABSTOP,12,30,136,10
    CONTROL         "&About box",IDC_CHK_ABOUT,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,12,42,136,10
    CONTROL         "&Window",IDC_OPT_WINDOW,"Button",BS_AUTORADIOBUTTON,12,
                    75,136,10
    CONTROL         "&Fullscreen",IDC_OPT_FULL,"Button",BS_AUTORADIOBUTTON,
                    12,87,136,10
    CONTROL         "&Both. To run in fullscreen mode, #define FULLSCREEN",
                    IDC_OPT_FULLWND,"Button",BS_AUTORADIOBUTTON | BS_TOP | 
                    BS_MULTILINE,12,99,136,17
    CONTROL         "&Use OpenGL",IDC_CHK_USEOGL,"Button",BS_AUTOCHECKBOX | 
                    WS_TABSTOP,12,142,136,10
    CONTROL         "&Sample code (spinning cube)",IDC_CHK_SAMPLE,"Button",
                    BS_AUTOCHECKBOX | WS_TABSTOP,12,153,136,10
    GROUPBOX        "Application",IDC_STATIC,6,6,300,51
    GROUPBOX        "Main window",IDC_STATIC,6,63,300,61
    GROUPBOX        "OpenGL support",IDC_STATIC,5,129,300,55
    CONTROL         "Show FPS in &caption",IDC_CHK_FPS,"Button",
                    BS_AUTOCHECKBOX | WS_TABSTOP,160,75,132,10
    COMBOBOX        IDC_COLORBITS,255,137,44,67,CBS_DROPDOWNLIST | 
                    WS_VSCROLL | WS_TABSTOP
    COMBOBOX        IDC_DEPTHBITS,255,152,44,52,CBS_DROPDOWNLIST | 
                    WS_VSCROLL | WS_TABSTOP
    CONTROL         "&Double buffering",IDC_CHK_DBLBUF,"Button",
                    BS_AUTOCHECKBOX | WS_TABSTOP,12,164,136,10
    LTEXT           "Color depth:",IDC_STATIC,160,141,89,8
    LTEXT           "Z Buffer depth:",IDC_STATIC,160,155,89,8
    LTEXT           "Background color:",IDC_STATIC,160,169,89,8
    PUSHBUTTON      "..",IDC_BTNCOLOR,288,167,11,12
    CONTROL         "",IDC_BGCOLOR,"Static",SS_WHITEFRAME,255,167,30,13,
                    WS_EX_CLIENTEDGE
END


/////////////////////////////////////////////////////////////////////////////
//
// TEMPLATE
//

NEWPROJ.INF             TEMPLATE DISCARDABLE    "template\\newproj.inf"
CONFIRM.INF             TEMPLATE DISCARDABLE    "template\\confirm.inf"
SDKTEST.ICO             TEMPLATE DISCARDABLE    "Template\\res\\SDKTest.ICO"
SMALL.ICO               TEMPLATE DISCARDABLE    "Template\\res\\small.ico"
SDKTEST.RC              TEMPLATE DISCARDABLE    "Template\\SDKTest.rc"
RESOURCE.H              TEMPLATE DISCARDABLE    "Template\\resource.h"
SDKTEST.H               TEMPLATE DISCARDABLE    "Template\\SDKTest.h"
STDAFX.H                TEMPLATE DISCARDABLE    "Template\\StdAfx.h"
MAINWND.CPP             TEMPLATE DISCARDABLE    "Template\\MainWnd.cpp"
SDKTEST.CPP             TEMPLATE DISCARDABLE    "Template\\SDKTest.cpp"
STDAFX.CPP              TEMPLATE DISCARDABLE    "Template\\StdAfx.cpp"
MAINWND.H               TEMPLATE DISCARDABLE    "Template\\MainWnd.h"

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

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

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

#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO DISCARDABLE 
BEGIN
    IDD_CUSTOM1, DIALOG
    BEGIN
        VERTGUIDE, 12
        VERTGUIDE, 148
        VERTGUIDE, 160
        VERTGUIDE, 249
        VERTGUIDE, 255
        VERTGUIDE, 299
    END
END
#endif    // APSTUDIO_INVOKED


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

IDD_CUSTOM1 DLGINIT
BEGIN
    IDC_COLORBITS, 0x403, 2, 0
0x0038, 
    IDC_COLORBITS, 0x403, 3, 0
0x3631, "\000" 
    IDC_COLORBITS, 0x403, 3, 0
0x3432, "\000" 
    IDC_COLORBITS, 0x403, 3, 0
0x3233, "\000" 
    IDC_DEPTHBITS, 0x403, 2, 0
0x0038, 
    IDC_DEPTHBITS, 0x403, 3, 0
0x3631, "\000" 
    IDC_DEPTHBITS, 0x403, 3, 0
0x3432, "\000" 
    IDC_DEPTHBITS, 0x403, 3, 0
0x3233, "\000" 
    0
END

#endif    // Swedish 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
#include "afxres.rc"  // Standard components

/////////////////////////////////////////////////////////////////////////////
#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 has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

Share

About the Author

Ulf Öhlén
Sweden Sweden
No Biography provided

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.150603.1 | Last Updated 20 May 2003
Article Copyright 2001 by Ulf Öhlén
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid