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. Why It Sucks To Be Me Today

Why It Sucks To Be Me Today

Scheduled Pinned Locked Moved The Lounge
wpfcsharphelpwinforms
27 Posts 16 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 Rama Krishna Vavilala

    Christopher Duncan wrote:

    s there something a WPF app can do that I can't accomplish with Winforms?

    Is there something Winforms can do which MFC can not? No Is there something MFC can do which Win32 API can not? No But:- Can something be done better in MFC over raw Win32? -> Yes Can something be done better in WinForms over raw MFC? Yes Can something be done better in WPF over WinForms? Yes. Specifically, data binding, highly flexible UI model. Some kind of applications can be developed easily with WPF which will take enormously long time to develop with WinForms especially graphical/data visualization applications.

    G Offline
    G Offline
    Garth Watkins
    wrote on last edited by
    #18

    Maybe the question should have been. "Specifically, is there something a WPF app can do that I can't accomplish with Winforms with less hassle ?"

    Cheers Garth I don't really care whether or not i really care or not.

    P 1 Reply Last reply
    0
    • N NormDroid

      John, may I point you here http://www.viz.co.uk/profanisaurus.html[^] for some light entertainment. Dalek Dave, may appriciate this as well.

      Software Kinetics (requires SL3 beta) - Moving software

      J Offline
      J Offline
      Jim Crafton
      wrote on last edited by
      #19

      Very cool! Going to have to bookmark that!

      ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Oh

      1 Reply Last reply
      0
      • C Christopher Duncan

        I just gotta ask. Besides just letting the app look more shiny and pretty, does WPF bring any functionality to the party? Specifically, is there something a WPF app can do that I can't accomplish with Winforms? This stuff sounds like the polar opposite of "best bang for the buck."

        Christopher Duncan www.PracticalUSA.com Author of The Career Programmer and Unite the Tribes Got a career question? Ask the Attack Chihuahua!

        R Offline
        R Offline
        realJSOP
        wrote on last edited by
        #20

        It's easier to do some of the flashy stuff, but as far as adding functional value to the application, no.

        "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
        • R realJSOP

          I've been plodding along, writing our WPF app, and thinking I've got stuff pretty much ironed out regarding code organization. I put our custom templates and styles into a AppResources project, and user controls and minor windows into the AppControls project. Everything was fine until I decided I needed a custom TabItem class. So I implement that class, compile and run the app. All of a sudden, the tab items don't have borders - at all. Everything else seems to be there, but not the borders, unless the mouse is hovering over the tab. After a brief inspection, I thought that the TargetType property on my custom TabItem template should be changed from TabItem to MyTabItem (the custom TabItem class' name). Well, I can't do that because it will create a circular assembly reference, which is verboten in .Net. Now I have to go through ALL of my code to change crap around. Specifically, I have to move all the custom XAML code into the AppControls assembly, and change all of the control/window XAML that uses it to make sure all the references are correct. And I don't even know if this is going to fix the fraklking problem until I try it! One step forward, two steps back. What a royal frakking pain in the anal pore...

          "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

          M Offline
          M Offline
          Mark_Wallace
          wrote on last edited by
          #21

          "WPF" seems to be turning into "WTF" with a mouthful of doughnut.

          I wanna be a eunuchs developer! Pass me a bread knife!

          1 Reply Last reply
          0
          • C Christopher Duncan

            I just gotta ask. Besides just letting the app look more shiny and pretty, does WPF bring any functionality to the party? Specifically, is there something a WPF app can do that I can't accomplish with Winforms? This stuff sounds like the polar opposite of "best bang for the buck."

            Christopher Duncan www.PracticalUSA.com Author of The Career Programmer and Unite the Tribes Got a career question? Ask the Attack Chihuahua!

            C Offline
            C Offline
            Chris Meech
            wrote on last edited by
            #22

            Christopher Duncan wrote:

            Specifically, is there something a WPF app can do that I can't accomplish with Winforms MFC or native SDK?

            FTFY. :) :-O I see I'm a little late to the party. Many others have voiced the same question. :cool:

            Chris Meech I am Canadian. [heard in a local bar] In theory there is no difference between theory and practice. In practice there is. [Yogi Berra]

            1 Reply Last reply
            0
            • R Rama Krishna Vavilala

              Christopher Duncan wrote:

              s there something a WPF app can do that I can't accomplish with Winforms?

              Is there something Winforms can do which MFC can not? No Is there something MFC can do which Win32 API can not? No But:- Can something be done better in MFC over raw Win32? -> Yes Can something be done better in WinForms over raw MFC? Yes Can something be done better in WPF over WinForms? Yes. Specifically, data binding, highly flexible UI model. Some kind of applications can be developed easily with WPF which will take enormously long time to develop with WinForms especially graphical/data visualization applications.

              H Offline
              H Offline
              Henry Minute
              wrote on last edited by
              #23

              Define 'better'.

              Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”

              1 Reply Last reply
              0
              • C Christopher Duncan

                I just gotta ask. Besides just letting the app look more shiny and pretty, does WPF bring any functionality to the party? Specifically, is there something a WPF app can do that I can't accomplish with Winforms? This stuff sounds like the polar opposite of "best bang for the buck."

                Christopher Duncan www.PracticalUSA.com Author of The Career Programmer and Unite the Tribes Got a career question? Ask the Attack Chihuahua!

                V Offline
                V Offline
                Vark111
                wrote on last edited by
                #24

                As far as my (limited) knowledge on WPF goes, it's all about DirectX. Winforms/MFC/Win32 all draw widgets using GDI/GDI+. WPF draws widgets using DirectX. As far as what functionality that brings... :shrug:

                1 Reply Last reply
                0
                • N NormDroid

                  John, may I point you here http://www.viz.co.uk/profanisaurus.html[^] for some light entertainment. Dalek Dave, may appriciate this as well.

                  Software Kinetics (requires SL3 beta) - Moving software

                  H Offline
                  H Offline
                  Henry Minute
                  wrote on last edited by
                  #25

                  I looooove dodd.

                  Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”

                  1 Reply Last reply
                  0
                  • G Garth Watkins

                    Maybe the question should have been. "Specifically, is there something a WPF app can do that I can't accomplish with Winforms with less hassle ?"

                    Cheers Garth I don't really care whether or not i really care or not.

                    P Offline
                    P Offline
                    Phil Martin
                    wrote on last edited by
                    #26

                    There actually is believe it or not. If your application needed you to put some text labels that changed value and were overlayed on to an image. Sure, it is a minor one, but it is still there! :)

                    1 Reply Last reply
                    0
                    • R Rama Krishna Vavilala

                      Christopher Duncan wrote:

                      s there something a WPF app can do that I can't accomplish with Winforms?

                      Is there something Winforms can do which MFC can not? No Is there something MFC can do which Win32 API can not? No But:- Can something be done better in MFC over raw Win32? -> Yes Can something be done better in WinForms over raw MFC? Yes Can something be done better in WPF over WinForms? Yes. Specifically, data binding, highly flexible UI model. Some kind of applications can be developed easily with WPF which will take enormously long time to develop with WinForms especially graphical/data visualization applications.

                      C Offline
                      C Offline
                      CPallini
                      wrote on last edited by
                      #27

                      Rama Krishna Vavilala wrote:

                      Can something be done better in MFC over raw Win32? -> Yes

                      Uhmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm. :rolleyes:

                      If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                      This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                      [My articles]

                      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