Sign in to follow this  
markgame66

OpenGL Hardward Acclerating OpenGL view on a Dialogue Box

Recommended Posts

Hi, Does anyone know if it is possible to use hardware accleration on a part of a dialogue box which displays and OpenGL scene? I have a basic MFC PictureControl hooked into an OpenGL back end effectively to draw me the view. It's killing the CPU and would be nice if I can somehow tell the system to use hardware if avaliable. Thanks Mark

Share this post


Link to post
Share on other sites
I don't know how to interact with MFC, but there's nothing different from making a new window with borders and a window attached to a parent window. Use CreateWindow (when using the raw Win32 API), pass the parent window handle as the parent parameter, and set up OpenGL as normal. Nothing else is different as far as setting up OpenGL goes.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this