CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Page 3 of 3 FirstFirst 123
Results 31 to 36 of 36
  1. #31
    Join Date
    Sep 2011
    Posts
    75

    Re: Proper Usage of the MFC Framework

    Oh... Is there any way I can show you guys how my project is laid out?

  2. #32
    GCDEF is offline Elite Member Power Poster
    Join Date
    Nov 2003
    Location
    Florida
    Posts
    12,637

    Re: Proper Usage of the MFC Framework

    What type of project did you create, and seriously, stop messing with the CWinApp class. If the wizard put it there, it put it there for a reason.

  3. #33
    Join Date
    Nov 2000
    Location
    Voronezh, Russia
    Posts
    6,633

    Re: Proper Usage of the MFC Framework

    Seems we cannot avoid showing some working code...
    Attached Files Attached Files
    Last edited by Igor Vartanov; October 1st, 2011 at 02:50 AM.
    Best regards,
    Igor

  4. #34
    Join Date
    Sep 2011
    Posts
    75

    Re: Proper Usage of the MFC Framework

    Thank you for the help! I just had to wrap my head around the fact that I just needed to make a dummy Cwinapp variable... However, I forgot about this thread and have essentially done the same thing as before in WinAPI which is a little easier to understand in my opinion.

  5. #35
    Arjay's Avatar
    Arjay is offline Moderator / EX MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,490

    Re: Proper Usage of the MFC Framework

    Quote Originally Posted by kingting View Post
    Thank you for the help! I just had to wrap my head around the fact that I just needed to make a dummy Cwinapp variable... However, I forgot about this thread and have essentially done the same thing as before in WinAPI which is a little easier to understand in my opinion.
    Yeah, it takes a little more to understand the OOP approach in a framework like MFC or ATL, but the benefit is you don't have to write the same code over and over everytime you create a new app.

    Lot's of folks that try to use MFC don't bother to actually spend a little time to learn MFC, so it seems like they are constantly fighting with it.

  6. #36
    GCDEF is offline Elite Member Power Poster
    Join Date
    Nov 2003
    Location
    Florida
    Posts
    12,637

    Re: Proper Usage of the MFC Framework

    Quote Originally Posted by kingting View Post
    Thank you for the help! I just had to wrap my head around the fact that I just needed to make a dummy Cwinapp variable... However, I forgot about this thread and have essentially done the same thing as before in WinAPI which is a little easier to understand in my opinion.
    If that was your conclusion, you're doing something very wrong.

Page 3 of 3 FirstFirst 123

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured