Jump to content
  • Advertisement

Archived

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

xjussix

GUI using MFC? Mig Alley and Battle of Britain used MFC..

This topic is 5714 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

After a little bit of browsing through the code of Rowan''s BoB and Mig Alley I noticed they used MFC and the "normal" Windows controls as their GUI. I wonder if I should do it too, it seems a bit overkill to me to create the gui for my game using the GUI tutorial using DirectX (here in Gamedev.net).. How did they do it in the first place. The windows, the buttons, everything, they definately don''t look like the "normal" controls we see in Windows apps. How have they implemented the look and feel of their windows and controls? Any suggestions, comments, flames appreciated.

Share this post


Link to post
Share on other sites
Advertisement
I''m no MFC expert, but couldn''t they override the paint event? That, or there is a "UserDraw" flag.

Cédric

Share this post


Link to post
Share on other sites
The UserDraw is the way to go, usually. Quite involved, but there is lots of material on the web to help you get started.

Try www.codeguru.com and www.codeproject.com .

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!