Click here to Skip to main content
15,886,067 members
Articles / Desktop Programming / MFC

Writing a Platform and GUI Toolkit Independent OpenGL Class

Rate me:
Please Sign up or sign in to vote.
4.92/5 (33 votes)
1 Nov 2010CPOL13 min read 96.9K   7.5K   89  
Article showing how to write OS and GUI toolkit portable OpenGL view class
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by GLViewMFCMDIApp.rc
//
#define IDR_PASTE_MENU				151
#define IDR_WINDOWS_MENU			152
#define IDD_ABOUTBOX				100
#define IDP_OLE_INIT_FAILED			100
#define ID_WRITE_PASTEASHYPERLINK	32770
#define IDB_WRITESMALL				110
#define IDB_WRITELARGE				111
#define IDB_MAIN					112
#define IDB_BUTTONS					113
#define IDB_FILELARGE				114
#define IDB_FILESMALL				115
#define IDR_POPUP_EDIT				119
#define ID_STATUSBAR_PANE1			120
#define ID_STATUSBAR_PANE2			121
#define IDS_STATUS_PANE1			122
#define IDS_STATUS_PANE2			123
#define IDR_MAINFRAME				128
#define IDR_MAINFRAME_256			129
#define IDR_GLViewMFCMDIAppTYPE				130
#define ID_WINDOW_MANAGER			131
#define IDS_WINDOWS_MANAGER			132
#define IDS_RIBBON_FILE				260
#define IDS_RIBBON_NEW				262
#define IDS_RIBBON_OPEN				263
#define IDS_RIBBON_SAVE				264
#define IDS_RIBBON_SAVEAS			265
#define IDS_RIBBON_PRINT			266
#define IDS_RIBBON_PRINT_LABEL		267
#define IDS_RIBBON_PRINT_QUICK		268
#define IDS_RIBBON_PRINT_PREVIEW	269
#define IDS_RIBBON_PRINT_SETUP		270
#define IDS_RIBBON_CLOSE			271
#define IDS_RIBBON_RECENT_DOCS		272
#define IDS_RIBBON_EXIT				273
#define IDS_RIBBON_HOME				274
#define IDS_RIBBON_CLIPBOARD		275
#define IDS_RIBBON_PASTE			276
#define IDS_RIBBON_CUT				277
#define IDS_RIBBON_COPY				278
#define IDS_RIBBON_SELECTALL		279
#define IDS_RIBBON_WINDOW			284
#define IDS_RIBBON_WINDOWS			285
#define IDS_RIBBON_STYLE			286
#define IDS_RIBBON_STYLE_TIP		287
#define IDS_RIBBON_STYLE_DESC		288
#define IDS_RIBBON_STATUSBAR		289
#define IDS_RIBBON_VIEW				290
#define IDS_EDIT_MENU				306

// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE	310
#define _APS_NEXT_CONTROL_VALUE		1000
#define _APS_NEXT_SYMED_VALUE		310
#define _APS_NEXT_COMMAND_VALUE		32771
#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
Product Manager Mahindra & Mahindra
India India
Sharjith is a Mechanical Engineer with strong passion for Automobiles, Aircrafts and Software development.

Comments and Discussions