Click here to Skip to main content
15,885,067 members
Articles / Desktop Programming / ATL

How to add OpenGL support to ATL controls

Rate me:
Please Sign up or sign in to vote.
4.57/5 (7 votes)
28 Sep 2002CPOL2 min read 111.7K   1.4K   44  
An article describing the step-by-step process of adding basic OpenGL support to an ATL control
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by MyProject.rc
//
#define IDS_PROJNAME                    100
#define IDR_MYPROJECT                   101
#define IDB_MYCONTROL                   102
#define IDR_MYCONTROL                   103

// Next default values for new objects
// 
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE        201
#define _APS_NEXT_COMMAND_VALUE         32768
#define _APS_NEXT_CONTROL_VALUE         201
#define _APS_NEXT_SYMED_VALUE           104
#endif
#endif

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

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

License

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


Written By
Founder ActiveMesa
United Kingdom United Kingdom
I work primarily with the .NET technology stack, and specialize in accelerated code production via code generation (static or dynamic), aspect-oriented programming, MDA, domain-specific languages and anything else that gets products out the door faster. My languages of choice are C# and C++, though I'm open to suggestions.

Comments and Discussions