Jump to content
  • Advertisement

Archived

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

penetrator

openGL GUI

This topic is 6384 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 should be able to make a graphic interface for my flight sim, with buttons I can push and textbox I can type inside, but I really don''t know how to do that. I mean, I know how to draw a texture sphere with some text inside, but how can I manage to click on it ? Please gimme some tips ! Thanks again

Share this post


Link to post
Share on other sites
Advertisement
Hi there,

you can do this in either of 2 ways (that i know of)

a) create a normal window control that is of style
ws_ex_transparent and is a child of your main window
and just create your own painting function.

b) create your own class that you send messages to
from the normal message que for your main form and
process them yourself and just create a draw method
that is called once per frame for each visible control.

Hope this helps.

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!