Jump to content
  • Advertisement

Archived

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

Laroche

Learning MFC

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

Im trying to learn MFC by taking on a small project of making a sort of 2D modelling tool, which just really lets you draw dots and connect lines to them in a heirarchy format, sort of like bones in traditional 3d modelling tools. You could then just move them around. But I''m having some trouble, and here are my questions: 1) What part of doc/view architechture in MFC is responsible for creating multiple frame windows? Do I have to derive from the default class they supply when you create it or just add it in? Or something else? 2) If I have a class which had representations of bones/lines which was made before I tried to put it into MFC, where should I put this code? Should it be moved into a class derived from CMyAppDocument? Or into that class itself? Sorry If im asking some questions which have been asked before, but I havent found them in any threads before. Any help is appreciated!

Share this post


Link to post
Share on other sites
Advertisement
I would reccomend a book. 1001 Micro$oft Visual C++ Tips has about 500 MFC tips.

Scott Simontis
e-mail:ageofscott@comcast.net
AIM:ssimontis

Share this post


Link to post
Share on other sites
im really strapped for cash right now, and even though I work for a computer book store, I just don''t have the cash required. I was hoping to be able to pick some up just from tutorials and asking questions, but its rough going.

Share this post


Link to post
Share on other sites
check the tutorial archives here at the site. there was one a few months back about using MFC to make tools that covers the questions your asking. i read through the tutorial, if i remember right you handle the custom views by overriding the OnClientCreate method of one of the classes, but i can''t remember exactly which one. Im thinking its your main CBlahApplication class... look it up in the tutorial to be sure.

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!