Advertisement

Tool Bar in OpenGL window?

Started by December 01, 2001 12:32 AM
2 comments, last by HellRiZZer 23 years, 2 months ago
How can I make a tool bar showing up in any OpenGL window? I tried using CToolBar, created it succesefully, but it didn''t show up. I tried creating it as in usual MFC programs, but it still didn''t work. Do I have to set up another window dimensions for OpenGL so it won''t draw over tool bar or what? Please help. Thanks.
Well your most likely going to have to implement your own console system in OpenGL. Being that it doesn''t support MFC per se which I am pretty sure use GDI to get things to the screen. Are you using Fullscreen or windowed mode. A lot of people design level tools that incorporate MFC objects and and an OpenGL window inside the app. 3D Studio Max, AutoCAD, Maya, etc..... all could probably use MFC and OpenGL. Understand what I am trying to say. Its late and I''ve had a bit of wine tonight with dinner and to say the least I''m buzzing. Man I must be a light weight. Bleh
Advertisement
I do have an MFC OpenGL application, but all my drawing is done inside MainFrame class. I can create menus, dialogs, but not tool bars. Why?
I have an OpenGL app at work with a toolbar and as far as I can remember I didn''t do anything special to get it to show up. I didn''t use MFC.

This topic is closed to new replies.

Advertisement