Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. mastering MFC.....

mastering MFC.....

Scheduled Pinned Locked Moved The Lounge
c++learning
17 Posts 13 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G gvisgr8

    I have juz started to get a hang of MFC.....and damn..its quite fun... i was wondering ..wat is the best way to master MFC..(except smashing your head with coding).. Books....there are lot of them on net....but confused from where to start.....which book is ultimate(or close to it)......:mad: GV

    S Offline
    S Offline
    Sam_c
    wrote on last edited by
    #5

    Yea if you have the basics and understand the framework Then it’s just practise, practise and more practise Which kind of means ‘smashing your head with coding?' But hey that’s less painful if there isn’t a deadline :) Stick to the one language for as long as you can until you have MFC drilled into your head. I get the problem at work where I’m moving between countless languages and it gets quite confusing after doing a number of MFC projects to move to C# and then to web based tech back to C then to native C++. (Why I use CP so much :cool:) good luck and have fun ;)

    'how did programmers program without the internet? and before CP?!?'

    1 Reply Last reply
    0
    • G gvisgr8

      I have juz started to get a hang of MFC.....and damn..its quite fun... i was wondering ..wat is the best way to master MFC..(except smashing your head with coding).. Books....there are lot of them on net....but confused from where to start.....which book is ultimate(or close to it)......:mad: GV

      V Offline
      V Offline
      Virtual Coder
      wrote on last edited by
      #6

      gvisgr8 wrote:

      I have juz started to get a hang of MFC

      Why MFC? Learn C#.NET instead if you aspire to become a resident in Microsoft world.

      gvisgr8 wrote:

      ....and damn..its quite fun...

      Fun? You mean all those strange macros and wizzards? :omg: Try a modern environment or do you really want to become a maintainance-programmer for old poorly-written MFC code? X| :suss:

      realJSOPR 1 Reply Last reply
      0
      • G gvisgr8

        I have juz started to get a hang of MFC.....and damn..its quite fun... i was wondering ..wat is the best way to master MFC..(except smashing your head with coding).. Books....there are lot of them on net....but confused from where to start.....which book is ultimate(or close to it)......:mad: GV

        N Offline
        N Offline
        NormDroid
        wrote on last edited by
        #7

        I'd finished mastering MFC 7years ago, boy am I glad I moved upto more modern and exciting things.

        .net is a box of never ending treasures, every day I get find another gem.

        B 1 Reply Last reply
        0
        • S Sandeep Akhare

          I think the best is check any MFC forums and read the queries there and try to solve them

          Thanks and Regards Sandeep If you want something you never had, do something you have never done!

          P Offline
          P Offline
          peterchen
          wrote on last edited by
          #8

          Absolutely! I learnt a lot about COM this way. However, recently I have not enough patience for questions that need to be answered with "yes/no, but you don't want to do that!"


          We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
          My first real C# project | Linkify!|FoldWithUs! | sighist

          1 Reply Last reply
          0
          • G gvisgr8

            I have juz started to get a hang of MFC.....and damn..its quite fun... i was wondering ..wat is the best way to master MFC..(except smashing your head with coding).. Books....there are lot of them on net....but confused from where to start.....which book is ultimate(or close to it)......:mad: GV

            realJSOPR Offline
            realJSOPR Offline
            realJSOP
            wrote on last edited by
            #9

            The best way to learn a framework is to use it. Here's the best approach to doing that: 1) Come up with something you want to do and write a program to do it. If you can't think of anything on your own, find as simple of an application as possible, and try to duplicate it with an app that you write using MFC. 2) At this point, you should resist the urge to cheat (using code you find on the net) because you're trying to actually learn the framework. Once you get comfortable with it and think you're fairly proficient, then you can start looking at other folks code. If you simply MUST use code from the net, make sure you understand what it's doing and why it's doing it. 3) Believe it or not, knowing the Windows API will help a lot with understanding MFC. 4) Don't worry about learning STL until you learn/out-grow the limitations of the MFC collection classes. 5) Don't waste your money on books unless you need something to read while you're on the toilet. Everything you need to know about MFC is probably somewhere on the net.

            "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
            -----
            "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

            1 Reply Last reply
            0
            • V Virtual Coder

              gvisgr8 wrote:

              I have juz started to get a hang of MFC

              Why MFC? Learn C#.NET instead if you aspire to become a resident in Microsoft world.

              gvisgr8 wrote:

              ....and damn..its quite fun...

              Fun? You mean all those strange macros and wizzards? :omg: Try a modern environment or do you really want to become a maintainance-programmer for old poorly-written MFC code? X| :suss:

              realJSOPR Offline
              realJSOPR Offline
              realJSOP
              wrote on last edited by
              #10

              My, aren't we full of ourselves today... "Strange" wizards and macros? "Modern" environment? You must be talking about VS2005 which is the most horrid bug-ridden environment for a MFC programmer ever to flushed out of Redmond. I bet you started out as a VB "programmer".

              "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
              -----
              "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

              J S 2 Replies Last reply
              0
              • N NormDroid

                I'd finished mastering MFC 7years ago, boy am I glad I moved upto more modern and exciting things.

                .net is a box of never ending treasures, every day I get find another gem.

                B Offline
                B Offline
                Brady Kelly
                wrote on last edited by
                #11

                I'm glad I moved onto those things without having to mater MFC. Nothing against MFC, but it was a but before my time.

                N 1 Reply Last reply
                0
                • realJSOPR realJSOP

                  My, aren't we full of ourselves today... "Strange" wizards and macros? "Modern" environment? You must be talking about VS2005 which is the most horrid bug-ridden environment for a MFC programmer ever to flushed out of Redmond. I bet you started out as a VB "programmer".

                  "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                  -----
                  "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                  J Offline
                  J Offline
                  JimmyRopes
                  wrote on last edited by
                  #12

                  John Simmons / outlaw programmer wrote:

                  I bet you started out as a VB "programmer".

                  Tell him John. :laugh:

                  Simply Elegant Designs JimmyRopes Designs
                  Think inside the box! ProActive Secure Systems
                  I'm on-line therefore I am. JimmyRopes

                  1 Reply Last reply
                  0
                  • B Brady Kelly

                    I'm glad I moved onto those things without having to mater MFC. Nothing against MFC, but it was a but before my time.

                    N Offline
                    N Offline
                    NormDroid
                    wrote on last edited by
                    #13

                    Unfortunaly it was the best thing we had from 1992 to 2000 either that or VB X|

                    .net is a box of never ending treasures, every day I get find another gem.

                    1 Reply Last reply
                    0
                    • G gvisgr8

                      I have juz started to get a hang of MFC.....and damn..its quite fun... i was wondering ..wat is the best way to master MFC..(except smashing your head with coding).. Books....there are lot of them on net....but confused from where to start.....which book is ultimate(or close to it)......:mad: GV

                      K Offline
                      K Offline
                      Kastellanos Nikos
                      wrote on last edited by
                      #14

                      Once you master MFC, then what? Start learning WinForms? I bet you just mastered TurboC, right? ;P If you want to learn something just for fun, you better go for XAML and WPF.

                      S 1 Reply Last reply
                      0
                      • realJSOPR realJSOP

                        My, aren't we full of ourselves today... "Strange" wizards and macros? "Modern" environment? You must be talking about VS2005 which is the most horrid bug-ridden environment for a MFC programmer ever to flushed out of Redmond. I bet you started out as a VB "programmer".

                        "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                        -----
                        "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                        S Offline
                        S Offline
                        Sam_c
                        wrote on last edited by
                        #15

                        oh yea.. i second that about VS2005 i have to use it at work for everyting from webapps to MFC.:doh: due to someones belief that VS6 even with the latest SP has bugs in it... ive got used to VS2005 now and it's alright but MFC sure wasnt at the top of the developers List. to much in one app, web based tech .net win32 (which is murder to use in VS2005) MFC all in one app it is but at a cost.

                        1 Reply Last reply
                        0
                        • K Kastellanos Nikos

                          Once you master MFC, then what? Start learning WinForms? I bet you just mastered TurboC, right? ;P If you want to learn something just for fun, you better go for XAML and WPF.

                          S Offline
                          S Offline
                          Sam_c
                          wrote on last edited by
                          #16

                          Ontopic: I got a copy of 'Programming Microsoft Visual C++ 5th edition' i believe thats the latest and last edition by MS press ISBN: 1-57231-857-0 covers Visualc++, MFC, activeX, win32 memory management, intro to ATL. most of it seems dated now (covers IE4 controls), but not like MS have rebuilt the whole OS, i recon if you can read the book do the examples (if you have the free time, which i didnt) you would have a great start on windows Software engineering. Offtopic: i go between .net, native C++, C and MFC depending what best suits the project or the client whats me to do (which can be annoying and yes i do miss the intelisence in low lvl programming). i dont want to pick sides, but MFC still has its uses for badly maintained business network systems that dont have .net or have different version. good for a quick gui for native c++ without the hassle of creating a wrapper for the c++ code, (just make sure you dont use mfc code in the code u want to test)(yea, win32 console app can be used but i like buttons) .net has a lot to offer and it gets better every version but it is also very restrictive on the power you have in comparison to standard c++. it comes down to the 'Pick the correct tool for the Job' and the more tools you have and know how to use the more jobs you can do :) jobs = money so tools = money :) and .net isnt complex so more people can do, so if you want to set yourself apart from the avg developer or se then learn more tools(languages). oh and a side note, it works both ways something that were just for .net can be a pain to do in mfc/native c++. p.s was ranted out so probably makes little to no sence but hey thats life.

                          1 Reply Last reply
                          0
                          • G gvisgr8

                            I have juz started to get a hang of MFC.....and damn..its quite fun... i was wondering ..wat is the best way to master MFC..(except smashing your head with coding).. Books....there are lot of them on net....but confused from where to start.....which book is ultimate(or close to it)......:mad: GV

                            M Offline
                            M Offline
                            Member 96
                            wrote on last edited by
                            #17

                            Get in a time machine and go back to 1995? ;)


                            "110%" - it's the new 70%

                            1 Reply Last reply
                            0
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • World
                            • Users
                            • Groups