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. I hate MFC!!!

I hate MFC!!!

Scheduled Pinned Locked Moved The Lounge
c++designquestion
77 Posts 31 Posters 131 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.
  • N Nemanja Trifunovic

    Richard Stringer wrote: Take the time to learn MFC and you can throw things up pretty fast. :wtf: I've been using MFC for more than 5 years and I "learnt" it pretty well. The more I know it, the more I hate it. :beer:

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

    Obviously, you did not learn the most important thing: MFC Lesson 1: There are two ways to do things: The MFC one, and the wrong one. ;) Nemanja Trifunovic wrote: The more I know it, the more I hate it. Same here. I use MFC only for "quick tools", where I don't have to fight the UI stuff.


    It's a royal pain to watch a sex drugs and rock'n'roll design decay into an aids crack and techno implementation  [sighist] [Agile Programming] [doxygen]

    1 Reply Last reply
    0
    • J Jorgen Sigvardsson

      Richard Stringer wrote: BTW if the logic can bet developed in STL the program can't be very complicated nor should the API. :wtf::wtf: Excuse me? You're saying STL is only good for simple problems? If so, what did you smoke and where can I get it? -- Eventhough the forrest is full of trees, there's still no tree between the trees.

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

      He actually meant to imply that STL is good if you want to attack a simple problem with an overly-complicated code library... ------- signature starts "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001 Please review the Legal Disclaimer in my bio. ------- signature ends

      J 1 Reply Last reply
      0
      • N Nemanja Trifunovic

        It took me one day to develop the "logic" with STL, and now I'm working on damn UI for almost a week. Why there is no good RAD tool for C++? No wonder there are so many VB users. Die, MFC, die!!! :mad: :mad: :mad: :beer:

        R Offline
        R Offline
        Richard Melton
        wrote on last edited by
        #11

        >Why there is no good RAD tool for C++? For C++ or MFC? ?confused? I like MFC for Windows apps. Its a lightweight wrapper around a messy API. MFC for COM and COM's apostles is something I avoid like the plague, that's what ATL is for. I have serious trouble digesting the fact that you got 'STLs' logic in one day. Writing custom containers and iterators can be tough work, but having it all plug together is nice.

        N P T 3 Replies Last reply
        0
        • N Nemanja Trifunovic

          It took me one day to develop the "logic" with STL, and now I'm working on damn UI for almost a week. Why there is no good RAD tool for C++? No wonder there are so many VB users. Die, MFC, die!!! :mad: :mad: :mad: :beer:

          S Offline
          S Offline
          Stuart van Weele
          wrote on last edited by
          #12

          What exactly is the problem? MFC has CASE tools (well, kind of) that let you generate dialogs, menus, etc pretty quickly. Granted, the tools are not real CASE tools and the GUIs they create a not flashy, but they get the job done.

          N 1 Reply Last reply
          0
          • S Shog9 0

            Yeah, MFC sucks. It'll kick you right in the nuts if you take your eyes off it for a second. It'll stab you in the back if you turn away. But it must have some advantage, 'cause lots&lots&lots&lots&lots&lots&lots&lots&lots of people use it, so who are you to argue? :rolleyes:

            ---

            Shog9 I see the way the salesmen stare into the sun I stood and watched them as they fell off one by one...

            A Offline
            A Offline
            Alvaro Mendez
            wrote on last edited by
            #13

            Shog9 wrote: lots&lots&lots&lots&lots&lots&lots&lots&lots of people use it Funny, I've used the same argument to defend VB, but it just doesn't work too well... :)


            All you need in this life is ignorance and confidence, and then success is sure. -- Mark Twain

            J 1 Reply Last reply
            0
            • R Richard Melton

              >Why there is no good RAD tool for C++? For C++ or MFC? ?confused? I like MFC for Windows apps. Its a lightweight wrapper around a messy API. MFC for COM and COM's apostles is something I avoid like the plague, that's what ATL is for. I have serious trouble digesting the fact that you got 'STLs' logic in one day. Writing custom containers and iterators can be tough work, but having it all plug together is nice.

              N Offline
              N Offline
              Nemanja Trifunovic
              wrote on last edited by
              #14

              Richard Melton wrote: I have serious trouble digesting the fact that you got 'STLs' logic in one day. God no!!! Is it my English? I didn't learn STL in one day - I developed my program logic using STL in a day. I've been working with STL for 3 years, and I love it. :beer:

              R 1 Reply Last reply
              0
              • N Nemanja Trifunovic

                Richard Melton wrote: I have serious trouble digesting the fact that you got 'STLs' logic in one day. God no!!! Is it my English? I didn't learn STL in one day - I developed my program logic using STL in a day. I've been working with STL for 3 years, and I love it. :beer:

                R Offline
                R Offline
                Richard Melton
                wrote on last edited by
                #15

                Pheeewwww ....I was feeling like a tard... about to shirk off in my corner.

                J 1 Reply Last reply
                0
                • N Nemanja Trifunovic

                  It took me one day to develop the "logic" with STL, and now I'm working on damn UI for almost a week. Why there is no good RAD tool for C++? No wonder there are so many VB users. Die, MFC, die!!! :mad: :mad: :mad: :beer:

                  M Offline
                  M Offline
                  Marc Clifton
                  wrote on last edited by
                  #16

                  .NET isn't much better, in my opinion. That's why I use my own framework built on top of MFC so I only went through the pain once. Now I'm porting the whole thing over to .NET, because it's so lame also! (see my CP articles on the Application Automation Layer). Marc Help! I'm an AI running around in someone's f*cked up universe simulator.
                  Sensitivity and ethnic diversity means celebrating difference, not hiding from it. - Christian Graus
                  Every line of code is a liability - Taka Muraoka

                  G 1 Reply Last reply
                  0
                  • S Stuart van Weele

                    What exactly is the problem? MFC has CASE tools (well, kind of) that let you generate dialogs, menus, etc pretty quickly. Granted, the tools are not real CASE tools and the GUIs they create a not flashy, but they get the job done.

                    N Offline
                    N Offline
                    Nemanja Trifunovic
                    wrote on last edited by
                    #17

                    Stuart van Weele wrote: What exactly is the problem? The problem is that if I want to paint an edit control background at compile time, I should right-click on that control and pick the color from a palette - not to mess with WM_CTLCOLOREDIT. Simple things should be done simply. Stuart van Weele wrote: Granted, the tools are not real CASE tools and the GUIs they create a not flashy, but they get the job done. In a week. Real tools should get the same job done in a day. :beer:

                    G S D J R 5 Replies Last reply
                    0
                    • N Nemanja Trifunovic

                      Stuart van Weele wrote: What exactly is the problem? The problem is that if I want to paint an edit control background at compile time, I should right-click on that control and pick the color from a palette - not to mess with WM_CTLCOLOREDIT. Simple things should be done simply. Stuart van Weele wrote: Granted, the tools are not real CASE tools and the GUIs they create a not flashy, but they get the job done. In a week. Real tools should get the same job done in a day. :beer:

                      G Offline
                      G Offline
                      Giles
                      wrote on last edited by
                      #18

                      I've got a feeling this kind of thing is coming to Visual C++ in the next edition out this year as C# and VB.NET have it, and we have all being shouting about it.

                      N 1 Reply Last reply
                      0
                      • G Giles

                        I've got a feeling this kind of thing is coming to Visual C++ in the next edition out this year as C# and VB.NET have it, and we have all being shouting about it.

                        N Offline
                        N Offline
                        Nemanja Trifunovic
                        wrote on last edited by
                        #19

                        I've worked with C# and VS.NET 2002 and found out that, while much better than MFC + VC 6. it still requires too much messing with simple, tedious things (like manually adding event handlers). Besides, .NET based desktop applications are not (yet) an option IMHO. :beer:

                        R 1 Reply Last reply
                        0
                        • realJSOPR realJSOP

                          He actually meant to imply that STL is good if you want to attack a simple problem with an overly-complicated code library... ------- signature starts "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001 Please review the Legal Disclaimer in my bio. ------- signature ends

                          J Offline
                          J Offline
                          Jorgen Sigvardsson
                          wrote on last edited by
                          #20

                          I still want some of that smoke though. ;P -- Eventhough the forrest is full of trees, there's still no tree between the trees.

                          K 1 Reply Last reply
                          0
                          • N Nemanja Trifunovic

                            It took me one day to develop the "logic" with STL, and now I'm working on damn UI for almost a week. Why there is no good RAD tool for C++? No wonder there are so many VB users. Die, MFC, die!!! :mad: :mad: :mad: :beer:

                            N Offline
                            N Offline
                            Navin
                            wrote on last edited by
                            #21

                            Let's see, you hate MFC, and you hate Linux... what *do* you like? :-D You can pick your friends, and you can pick your nose, but you can't pick your friend's nose.

                            N 1 Reply Last reply
                            0
                            • N Navin

                              Let's see, you hate MFC, and you hate Linux... what *do* you like? :-D You can pick your friends, and you can pick your nose, but you can't pick your friend's nose.

                              N Offline
                              N Offline
                              Nemanja Trifunovic
                              wrote on last edited by
                              #22

                              Navin wrote: Let's see, you hate MFC, and you hate Linux... what *do* you like? From my CP profile: Enjoyes: C++ coding, reading, movies, sleeping, but most of all the company of his wife and baby daughter. Dislikes: GUI programming, writing documentation, garbage collectors, Open Source zealots. ;) :beer:

                              A J 2 Replies Last reply
                              0
                              • N Nemanja Trifunovic

                                Stuart van Weele wrote: What exactly is the problem? The problem is that if I want to paint an edit control background at compile time, I should right-click on that control and pick the color from a palette - not to mess with WM_CTLCOLOREDIT. Simple things should be done simply. Stuart van Weele wrote: Granted, the tools are not real CASE tools and the GUIs they create a not flashy, but they get the job done. In a week. Real tools should get the same job done in a day. :beer:

                                S Offline
                                S Offline
                                Stuart van Weele
                                wrote on last edited by
                                #23

                                There might be a way out (well kind of...) AFAIK the MFC edit control is just a plain MS edit box that is part of the underlying OS GUI, while the VB control is a COM object that is built into the VB dll. If you can find a COM edit control that does everything you want and is redistributable then you can use it.

                                1 Reply Last reply
                                0
                                • R Richard Melton

                                  >Why there is no good RAD tool for C++? For C++ or MFC? ?confused? I like MFC for Windows apps. Its a lightweight wrapper around a messy API. MFC for COM and COM's apostles is something I avoid like the plague, that's what ATL is for. I have serious trouble digesting the fact that you got 'STLs' logic in one day. Writing custom containers and iterators can be tough work, but having it all plug together is nice.

                                  P Offline
                                  P Offline
                                  pankajdaga
                                  wrote on last edited by
                                  #24

                                  I like MFC for Windows apps. Its a lightweight wrapper around a messy API. MFC for COM and COM's apostles is something I avoid like the plague, that's what ATL is for. One thing that MFC is not, is lightweight. It is ok, if you do not want bulky, over-weight slow programs. Pankaj Without struggle, there is no progress

                                  R 1 Reply Last reply
                                  0
                                  • N Nemanja Trifunovic

                                    It took me one day to develop the "logic" with STL, and now I'm working on damn UI for almost a week. Why there is no good RAD tool for C++? No wonder there are so many VB users. Die, MFC, die!!! :mad: :mad: :mad: :beer:

                                    C Offline
                                    C Offline
                                    Carlos Antollini
                                    wrote on last edited by
                                    #25

                                    I love MFC :bob: Carlos Antollini. Pi Five[^]Creator Sonork ID 100.10529 cantollini

                                    1 Reply Last reply
                                    0
                                    • K Kant

                                      Nemanja Trifunovic wrote: It took me one day to develop the "logic" with STL Sorry..wrong forum...Only these posts allowed : Dubya, Iraq, Oil.... Just Kidding..;P Kant Sonork-100.28114 Don't :beer: and Drive.

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

                                      How about a post with GWB using STL to write software to work out how much oil there is in Iraq ;P Elaine The tigress is here :-D

                                      A 1 Reply Last reply
                                      0
                                      • K Kant

                                        Nemanja Trifunovic wrote: It took me one day to develop the "logic" with STL Sorry..wrong forum...Only these posts allowed : Dubya, Iraq, Oil.... Just Kidding..;P Kant Sonork-100.28114 Don't :beer: and Drive.

                                        R Offline
                                        R Offline
                                        Robert Vista
                                        wrote on last edited by
                                        #27

                                        No, you seem to be the only one obsessed with George Bush.:confused:

                                        K 1 Reply Last reply
                                        0
                                        • N Nemanja Trifunovic

                                          It took me one day to develop the "logic" with STL, and now I'm working on damn UI for almost a week. Why there is no good RAD tool for C++? No wonder there are so many VB users. Die, MFC, die!!! :mad: :mad: :mad: :beer:

                                          A Offline
                                          A Offline
                                          Anna Jayne Metcalfe
                                          wrote on last edited by
                                          #28

                                          Try WTL or another framework then...;) Anna :rose: www.annasplace.me.uk

                                          "Be yourself - not what others think you should be"
                                          - Marcia Graesch

                                          Trouble with resource IDs? Try the Resource ID Organiser Add-In for Visual C++

                                          N 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