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. General Programming
  3. C / C++ / MFC
  4. Help with menus

Help with menus

Scheduled Pinned Locked Moved C / C++ / MFC
helpc++
14 Posts 6 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.
  • R Ryan McDermott

    OK thanks, I have tried MFC many times but I still can not grasp it. I heard that microsoft doesn't even use MFC they just push it on other people. I have been doing C++ for more than 2 years, I have done 50+ projects but 0 MFC projects. I understand the object oriented concepts extremely well but half that crap code doesn't even look like C++. I want an alternative to MFC. Is there any? -Ryan M.

    M Offline
    M Offline
    Michael Dunn
    wrote on last edited by
    #4

    Ryan McDermott wrote: I heard that microsoft doesn't even use MFC What's your source? Whoever it is, they're dead wrong since the VC 6 IDE is an MFC app. Anyhoo, I know MSDN has a sample that shows how to make a toolbar that looks/acts like a menu. Ryan McDermott wrote: I want an alternative to MFC. Is there any? WTL[^] --Mike-- LINKS~! Ericahist | 1ClickPicGrabber | CP SearchBar v2.0.2 | C++ Forum FAQ | You Are Dumb

    R 1 Reply Last reply
    0
    • M Michael Dunn

      Ryan McDermott wrote: I heard that microsoft doesn't even use MFC What's your source? Whoever it is, they're dead wrong since the VC 6 IDE is an MFC app. Anyhoo, I know MSDN has a sample that shows how to make a toolbar that looks/acts like a menu. Ryan McDermott wrote: I want an alternative to MFC. Is there any? WTL[^] --Mike-- LINKS~! Ericahist | 1ClickPicGrabber | CP SearchBar v2.0.2 | C++ Forum FAQ | You Are Dumb

      R Offline
      R Offline
      Ryan McDermott
      wrote on last edited by
      #5

      Thanks Michael you're a god :) :) :) I guess I will try MFC. I always though the Visual Studio IDE just used regular windows APIs. My Dad's friend that works for IBM, has a few friends at microsoft and that's who told me about Microsoft and MFC. -Ryan M.

      C 1 Reply Last reply
      0
      • R Ryan McDermott

        Thanks Michael you're a god :) :) :) I guess I will try MFC. I always though the Visual Studio IDE just used regular windows APIs. My Dad's friend that works for IBM, has a few friends at microsoft and that's who told me about Microsoft and MFC. -Ryan M.

        C Offline
        C Offline
        Christian Graus
        wrote on last edited by
        #6

        Ryan McDermott wrote: My Dad's friend that works for IBM, has a few friends at microsoft They didn't fire him for that ? :P He may have been thinking of apps like Word, which predate MFC, and I believe continue not to use it. The reason is the cost of a rewrite, not any problem with MFC itself. Christian I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer

        R 1 Reply Last reply
        0
        • C Christian Graus

          Ryan McDermott wrote: My Dad's friend that works for IBM, has a few friends at microsoft They didn't fire him for that ? :P He may have been thinking of apps like Word, which predate MFC, and I believe continue not to use it. The reason is the cost of a rewrite, not any problem with MFC itself. Christian I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer

          R Offline
          R Offline
          Ryan McDermott
          wrote on last edited by
          #7

          OK I have always assumed that. I might open up Word or Visual studio in a hex editor and take a look at what DLLs they are linked to ;) Does anybody have any tutorials on MFC? I would appreciate it. -Ryan M.

          C 1 Reply Last reply
          0
          • R Ryan McDermott

            OK I have always assumed that. I might open up Word or Visual studio in a hex editor and take a look at what DLLs they are linked to ;) Does anybody have any tutorials on MFC? I would appreciate it. -Ryan M.

            C Offline
            C Offline
            Christian Graus
            wrote on last edited by
            #8

            Ryan McDermott wrote: Does anybody have any tutorials on MFC? I would appreciate it. I hear there's a cool site called CodeProject with heaps of MFC articles on it..... Christian I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer

            R 1 Reply Last reply
            0
            • C Christian Graus

              Ryan McDermott wrote: Does anybody have any tutorials on MFC? I would appreciate it. I hear there's a cool site called CodeProject with heaps of MFC articles on it..... Christian I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer

              R Offline
              R Offline
              Ryan McDermott
              wrote on last edited by
              #9

              ok ok, very cocky now. I have read many a article here at codeproject and I can't really understand all the MFC headers and all those weird APIs. Everything in MFC is so sloppy and I thought it was designed so you can be more productive. Quite the contrary, you write endless lines of classes and macros and where does it getcha? Half of what I say is probably wrong and you all might contradict me but I just am not all that fond of much Microsoft stuff. -Ryan M.

              R C 2 Replies Last reply
              0
              • R Ryan McDermott

                OK thanks, I have tried MFC many times but I still can not grasp it. I heard that microsoft doesn't even use MFC they just push it on other people. I have been doing C++ for more than 2 years, I have done 50+ projects but 0 MFC projects. I understand the object oriented concepts extremely well but half that crap code doesn't even look like C++. I want an alternative to MFC. Is there any? -Ryan M.

                L Offline
                L Offline
                Lost User
                wrote on last edited by
                #10

                Try wtl. Lots of templates in there though that you might not like the look of. 50+ projects in 2 years eh?

                R 1 Reply Last reply
                0
                • L Lost User

                  Try wtl. Lots of templates in there though that you might not like the look of. 50+ projects in 2 years eh?

                  R Offline
                  R Offline
                  Ryan McDermott
                  wrote on last edited by
                  #11

                  Yes 50+ :) I did mainly small apps like a Splash Screen class, a Remote administration server, basic FTP client. Anyway, I found an interesting book on MFC online that I will order. -Ryan M.

                  1 Reply Last reply
                  0
                  • R Ryan McDermott

                    ok ok, very cocky now. I have read many a article here at codeproject and I can't really understand all the MFC headers and all those weird APIs. Everything in MFC is so sloppy and I thought it was designed so you can be more productive. Quite the contrary, you write endless lines of classes and macros and where does it getcha? Half of what I say is probably wrong and you all might contradict me but I just am not all that fond of much Microsoft stuff. -Ryan M.

                    R Offline
                    R Offline
                    Ravi Bhavnani
                    wrote on last edited by
                    #12

                    This[^] book is worth it's weight in gold. /ravi My new year's resolution: 2048 x 1536 Home | Articles | Freeware | Music ravib@ravib.com

                    1 Reply Last reply
                    0
                    • R Ryan McDermott

                      OK thanks, I have tried MFC many times but I still can not grasp it. I heard that microsoft doesn't even use MFC they just push it on other people. I have been doing C++ for more than 2 years, I have done 50+ projects but 0 MFC projects. I understand the object oriented concepts extremely well but half that crap code doesn't even look like C++. I want an alternative to MFC. Is there any? -Ryan M.

                      U Offline
                      U Offline
                      User 307386
                      wrote on last edited by
                      #13

                      Have you checked WTL? It is generally considered a good alternative to MFC. Much less crap, smaller binaries. There are also a lot of ready-to-use classes, including menu (check CP's wtl part) Igor Green http://www.grigsoft.com Compare It! + Synchronize It! : Files and folders comparison never was easier!

                      1 Reply Last reply
                      0
                      • R Ryan McDermott

                        ok ok, very cocky now. I have read many a article here at codeproject and I can't really understand all the MFC headers and all those weird APIs. Everything in MFC is so sloppy and I thought it was designed so you can be more productive. Quite the contrary, you write endless lines of classes and macros and where does it getcha? Half of what I say is probably wrong and you all might contradict me but I just am not all that fond of much Microsoft stuff. -Ryan M.

                        C Offline
                        C Offline
                        Christian Graus
                        wrote on last edited by
                        #14

                        Ryan McDermott wrote: Everything in MFC is so sloppy MFC is an attempt to OO Win32. It's not perfect, by any means. Your best bet is to work your way through some examples, and learn a bit at a time. Ryan McDermott wrote: you write endless lines of classes and macros You shouldn't have to write any macros. Macros are evil. I don't think you need to write endless classes either. Have you done any Win32 ? It's a lot more verbose. Christian I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer

                        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