Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Windows + GL = Something Wrong

This topic is 6378 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''m making a map editor using two windows; one for ,y ,ain map window and the other for my tool window. What I''m trying to do is have to combo-boxes to select which sprite your to place and underneath show an image of the selected sprite. Well this was working well and good in DirectX but when I switched it over to OpenGL it draws over top of my controls. I can still click on the combo boxes and they wil appear for a second but then they disappear again. Has anyone excountered something like this or something, I''ve been stuck on this one for a while now. Also my tool window is using it''s own handle and the combo-boxes are using the tool window handle as their parent. Retired Pokemon Master of Prgramming Problems I already had them all.

Share this post

Link to post
Share on other sites
Guest Anonymous Poster
If I understand it right do you combine OpenGL and GDI, right?
OpenGL and GDI graphics cannot be mixed in a double-buffered window.
An application can directly draw both OpenGL graphics and GDI graphics into a single-buffered window, but not into a double-buffered window.

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!