MFC + Directx

Started by
4 comments, last by funvill 19 years, 8 months ago
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
====Funvill[Home|Tiny xml|Boost|Wiki|STL]====================
Advertisement
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.
-------------------------------See my tutorial site: Click here
That looks like what i need, but all the tutorial zip files are corrupt
i can not view any of the tutorials
====Funvill[Home|Tiny xml|Boost|Wiki|STL]====================
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.
Doh.

i searched the fourms but not the articles :P

thank you i will look in to that article
====Funvill[Home|Tiny xml|Boost|Wiki|STL]====================
For the people that come after me

Source code:
http://www.funvill.com/lj/dev/MFC/DirectX/MFC_DirectX.zip
====Funvill[Home|Tiny xml|Boost|Wiki|STL]====================

This topic is closed to new replies.

Advertisement