Sign in to follow this  

MFC + Directx

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

Hello I am making a solar system simulator in directX and I was thinking of using MFC for the GUI controls, basically having a directX panel in the center of my dialog and buttons, text boxes, and combo boxes around the out side of the window. I have seen this done often in game tools but never for the game its self, is there a reason why people don’t use MFC for games ? I tried to search for a tutorial but came up empty handed. Do you know of any MFC and directx tutorial ? I do realize that there is C# but I do not want to have to learn a new language And I know that there will be a performance hit if I use MFC. Thank you for your time

Share this post


Link to post
Share on other sites
One can be downloaded here:

http://web.archive.org/web/20040209054251/www.ultimategameprogramming.com/Tutorial.php?category=MFC&page=3

The site's just archived now so only some of the tutorials are actually there. I know for sure that the first DirectX/MFC tutorial is there though.

Share this post


Link to post
Share on other sites
I just started using direcx with MFC myself, and there's actually a tutorial on this website that was very useful in knowing where to start out with my initialization code, etc.
It uses D3D8.1, but the basic ideas are the same when using D3D9. http://www.gamedev.net/reference/articles/article1778.asp
Also, MFC is a perfectly accepable choice for a GUI, despite what some people might tell you, its main problem is it is quite a large set of tools, and it can be hard to figure out where to put stuff to do what you want to do.

Share this post


Link to post
Share on other sites

This topic is 4863 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.

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