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. How many of you use WPF

How many of you use WPF

Scheduled Pinned Locked Moved The Lounge
graphicsgame-devcsharpwpfwinforms
98 Posts 34 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.
  • C Christian Graus

    No more or less than it is on Vista.

    Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

    G Offline
    G Offline
    Gene OK
    wrote on last edited by
    #59

    Far less than Vista.

    CodeWiz51 -- Life is not a spectator sport. I came to play. Code's Musings | Code's Articles

    C 1 Reply Last reply
    0
    • C CataclysmicQuantum

      You are making things sound more complicated than they need to be.

      The Digital World. It is an amazing place in which we primitive humans interact. Our flesh made this synthetic machine. You see, we are so smart, we know a lot of stuff. We were grown from cells that came from the universe, which the matter and physics I'm typing in it is amazing how the universe is working. Human life is very amazing. How I experience this sh*t its like wow.

      E Offline
      E Offline
      El Corazon
      wrote on last edited by
      #60

      CataclysmicQuantum wrote:

      You are making things sound more complicated than they need to be.

      No, he is not. Even in OpenGL understanding Rasterization means you understand the results of your operations and hopefully they match your expectations for the code. Otherwise you are playing the sink/swim method of graphics programming. It is NOT that complicated. Everything you do goes through a pipeline process, whether it is GDI or OpenGL is irrelevant, the pipeline process is different depending the graphics foundation you are using, but the process is ultimately the same. There are differences in methodology of the process, for instance GDI is rasterized at every step, where-as OpenGL and Direct3D use deferred rasterization at the end of a frame. One is designed for drawing on a screen and holding it there, the other is designed completely around animation methodologies. Once you realize the process of rasterization, and the need therein, you realize why GDI is slower than DirectX/OpenGL. Rasterizing your process is the foundation of graphics. It isn't like learning how to build cars to learn how to drive one, but it is more like knowing that your car burns gas before you run out somewhere about Thorough, NM and wonder how this happened. Knowing the basics of how something works is very, VERY, good.

      _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb) John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others."

      1 Reply Last reply
      0
      • G Gene OK

        Far less than Vista.

        CodeWiz51 -- Life is not a spectator sport. I came to play. Code's Musings | Code's Articles

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

        I don't know what makes you say that, but you're plain wrong. There's nothing stopping you using C to write a Windows app for Vista. If you feel that just because the general UI is flashy, you would think it's better to use WPF, that's your decision, but WPF is just an option, in XP or in Vista.

        Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

        E G 2 Replies Last reply
        0
        • C CataclysmicQuantum

          Windows Vista does it with its explorer icons.

          The Digital World. It is an amazing place in which we primitive humans interact. Our flesh made this synthetic machine. You see, we are so smart, we know a lot of stuff. We were grown from cells that came from the universe, which the matter and physics I'm typing in it is amazing how the universe is working. Human life is very amazing. How I experience this sh*t its like wow.

          E Offline
          E Offline
          El Corazon
          wrote on last edited by
          #62

          CataclysmicQuantum wrote:

          Windows Vista does it with its explorer icons.

          and also why expanding windows icons looks ugly, shrinking them always looks odd. The point was trying to find a better way. Whether or not this is a better way will remain to be seen, but exploring the concept has its reasons, and they are many.

          _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb) John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others."

          C 1 Reply Last reply
          0
          • E El Corazon

            CataclysmicQuantum wrote:

            Windows Vista does it with its explorer icons.

            and also why expanding windows icons looks ugly, shrinking them always looks odd. The point was trying to find a better way. Whether or not this is a better way will remain to be seen, but exploring the concept has its reasons, and they are many.

            _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb) John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others."

            C Offline
            C Offline
            CataclysmicQuantum
            wrote on last edited by
            #63

            El Corazon wrote:

            and also why expanding windows icons looks ugly, shrinking them always looks odd

            Looks smooth in Vista. Most icons are pretty large so you can expand them without making them look pixelated.

            The Digital World. It is an amazing place in which we primitive humans interact. Our flesh made this synthetic machine. You see, we are so smart, we know a lot of stuff. We were grown from cells that came from the universe, which the matter and physics I'm typing in it is amazing how the universe is working. Human life is very amazing. How I experience this sh*t its like wow.

            E 1 Reply Last reply
            0
            • C Christian Graus

              I don't know what makes you say that, but you're plain wrong. There's nothing stopping you using C to write a Windows app for Vista. If you feel that just because the general UI is flashy, you would think it's better to use WPF, that's your decision, but WPF is just an option, in XP or in Vista.

              Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

              E Offline
              E Offline
              El Corazon
              wrote on last edited by
              #64

              Christian Graus wrote:

              There's nothing stopping you using C to write a Windows app for Vista.

              I hope there are not people who think this is no longer possible! egad, that would be a big misconception of how things work. You can use C/C++ even FORTRAN if you want, heaven forbid even COBOL is available along with all the sharps. You are free to use several methods of GUIs, several methods of graphics.

              _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb) John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others."

              C D 2 Replies Last reply
              0
              • C CataclysmicQuantum

                El Corazon wrote:

                and also why expanding windows icons looks ugly, shrinking them always looks odd

                Looks smooth in Vista. Most icons are pretty large so you can expand them without making them look pixelated.

                The Digital World. It is an amazing place in which we primitive humans interact. Our flesh made this synthetic machine. You see, we are so smart, we know a lot of stuff. We were grown from cells that came from the universe, which the matter and physics I'm typing in it is amazing how the universe is working. Human life is very amazing. How I experience this sh*t its like wow.

                E Offline
                E Offline
                El Corazon
                wrote on last edited by
                #65

                CataclysmicQuantum wrote:

                Looks smooth in Vista. Most icons are pretty large so you can expand them without making them look pixelated.

                which always means more memory for every icon. 100 icons at 128x128 with tri-colored and alpha blended ability means you are using a lot more memory than you need to, per se. And that is assuming that Vista doesn't employ mipmapping techniques for minimizing effects during shrinking, that is applying all sizes below your original, 128x128 & 64x64 & 32x32, etc. This technique is common in 3D interfaces which Vista is finally utilizing for its internal pipeline. However, I do see the aliasing artifacts even in Vista. Searching for the next level is what programming is all about, nothing ever remains completely the same. Something is always changing.

                _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb) John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others."

                1 Reply Last reply
                0
                • E El Corazon

                  Christian Graus wrote:

                  There's nothing stopping you using C to write a Windows app for Vista.

                  I hope there are not people who think this is no longer possible! egad, that would be a big misconception of how things work. You can use C/C++ even FORTRAN if you want, heaven forbid even COBOL is available along with all the sharps. You are free to use several methods of GUIs, several methods of graphics.

                  _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb) John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others."

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

                  I have to assume that isn't what he means, but failing that, I'm not sure what he does mean, I guess he assumes that MS themselves are pushing for WPF apps, which may well be true, doesn't mean we have to use it.

                  Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

                  1 Reply Last reply
                  0
                  • C CataclysmicQuantum

                    I'm thinking of just boycotting the technology. Why should I have to learn something new and complicated just for the sake of being up to date? I don't like WPF and how it makes thinks seem messy and more complicated. I should not have to write XML and hoolaguh boolahuh to make a button on a form. WinForms, GDI/+, OpenGL, and DirectX is all we need! Who is with me on this?

                    The Digital World. It is an amazing place in which we primitive humans interact. Our flesh made this synthetic machine. You see, we are so smart, we know a lot of stuff. We were grown from cells that came from the universe, which the matter and physics I'm typing in it is amazing how the universe is working. Human life is very amazing. How I experience this sh*t its like wow.

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

                    It makes Sense to boycout, if u have something inliue of it, giving similar quality of graphic. Although, agreed, WPF has enourmous learning curve involved, it is not as we developers want it, but, it really does give impressive UI and Looks; Hope, Google or Yahoo come up with something they can beat WPF, or atleast, Adobe will (i think), or Adobe will be washed away!

                    ravis

                    1 Reply Last reply
                    0
                    • M Mustafa Ismail Mustafa

                      Not me. You don't develop for a living do you? 99% of what clients look for is the Look and Feel of an application rather than the feature set. besides, you can do some really cool things with WPF.

                      "Every time Lotus Notes starts up, somewhere a puppy, a kitten, a lamb, and a baby seal are killed. Lotus Notes is a conspiracy by the forces of Satan to drive us over the brink into madness. The CRC-32 for each file in the installation includes the numbers 666." Gary Wheeler "You're an idiot." John Simmons, THE Outlaw programmer "I realised that all of my best anecdotes started with "So there we were, pissed". Pete O'Hanlon

                      S Offline
                      S Offline
                      SimonRigby
                      wrote on last edited by
                      #68

                      Yes you can do lots of neat things with WPF, but your statement that 99% of what clients are after is look and feel is just madness. Clients (well mine anyway) want functionality (100% of what they expect) and they want it to be pleasing to use. 99% just reaks of style over content. To the OP, I agree. I have used WPF on projects where I have been a hired hand but I wouldn't use it out of choice.

                      The only thing unpredictable about me is just how predictable I'm going to be.

                      M 1 Reply Last reply
                      0
                      • K Kevin McFarlane

                        I don't use it myself but our application (software for controlling an industrial print machine) uses it. Many of the UI elements would just not be possible (or would be extremely difficult to implement) using Windows Forms.

                        CataclysmicQuantum wrote:

                        I should not have to write XML and hoolaguh boolahuh to make a button on a form.

                        Correct. You should use a toolset such as Expression Blend.

                        Kevin

                        S Offline
                        S Offline
                        SimonRigby
                        wrote on last edited by
                        #69

                        Ah the voice of reason. Precisely. Technology used for a reason not finding a reason to use the technology :)

                        The only thing unpredictable about me is just how predictable I'm going to be.

                        L 1 Reply Last reply
                        0
                        • M Mustafa Ismail Mustafa

                          CataclysmicQuantum wrote:

                          The GUI should be functional not some kind of art show.

                          Riiiiight. GUI is all about making it look so good you want to lick it.

                          "Every time Lotus Notes starts up, somewhere a puppy, a kitten, a lamb, and a baby seal are killed. Lotus Notes is a conspiracy by the forces of Satan to drive us over the brink into madness. The CRC-32 for each file in the installation includes the numbers 666." Gary Wheeler "You're an idiot." John Simmons, THE Outlaw programmer "I realised that all of my best anecdotes started with "So there we were, pissed". Pete O'Hanlon

                          M Offline
                          M Offline
                          Mrs Burmeister
                          wrote on last edited by
                          #70

                          That's a description of a good GUI. But a great GUI is the one you can't remember because you never give it any thought; the program feels like an extension of the user's own thought process. It's all about ease of use.

                          M 1 Reply Last reply
                          0
                          • J Josh Smith

                            Brady Kelly wrote:

                            my Intellisense doesn't work for XAML.

                            That doesn't sound right. Works for me.

                            :josh: My WPF Blog[^] All of life is just a big rambling blog post.

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

                            I think ReSharper screwed it up, but even after disabling ReSharper and reverting to VS Intellisense, it still no longer works. I'm sure nothing short of a complete re-install will fix it.

                            Pits fall into Chuck Norris.

                            P 1 Reply Last reply
                            0
                            • M Mrs Burmeister

                              That's a description of a good GUI. But a great GUI is the one you can't remember because you never give it any thought; the program feels like an extension of the user's own thought process. It's all about ease of use.

                              M Offline
                              M Offline
                              Mustafa Ismail Mustafa
                              wrote on last edited by
                              #72

                              I agree. You will understand that throughout the whole thread I didn't argue that particular point. Its the simple truth.

                              "Every time Lotus Notes starts up, somewhere a puppy, a kitten, a lamb, and a baby seal are killed. Lotus Notes is a conspiracy by the forces of Satan to drive us over the brink into madness. The CRC-32 for each file in the installation includes the numbers 666." Gary Wheeler "You're an idiot." John Simmons, THE Outlaw programmer "I realised that all of my best anecdotes started with "So there we were, pissed". Pete O'Hanlon

                              1 Reply Last reply
                              0
                              • S SimonRigby

                                Yes you can do lots of neat things with WPF, but your statement that 99% of what clients are after is look and feel is just madness. Clients (well mine anyway) want functionality (100% of what they expect) and they want it to be pleasing to use. 99% just reaks of style over content. To the OP, I agree. I have used WPF on projects where I have been a hired hand but I wouldn't use it out of choice.

                                The only thing unpredictable about me is just how predictable I'm going to be.

                                M Offline
                                M Offline
                                Mustafa Ismail Mustafa
                                wrote on last edited by
                                #73

                                That was an exaggeration of sorts. I've actually dealt with clients who only cared that it looked stunning. My personal belief and preferred method is the "Google.com look". Extremely simple, intuitive and works like a charm. Other than that, its catering to the whims and tastes of the client.

                                "Every time Lotus Notes starts up, somewhere a puppy, a kitten, a lamb, and a baby seal are killed. Lotus Notes is a conspiracy by the forces of Satan to drive us over the brink into madness. The CRC-32 for each file in the installation includes the numbers 666." Gary Wheeler "You're an idiot." John Simmons, THE Outlaw programmer "I realised that all of my best anecdotes started with "So there we were, pissed". Pete O'Hanlon

                                1 Reply Last reply
                                0
                                • S Shog9 0

                                  wout de zeeuw wrote:

                                  I actually liked the win forms code generation, where you had easy access to the generated UI element fields.

                                  The problem with that approach was that the rules for designer-generated code and regular code were different. That is, you can do things in code that the designer couldn't handle - this effectively meant that the designer-code had to be segregated and touched only with kid gloves, which pretty much put it into the same category as XAML or resource scripts, except without the clearly-defined boundaries.

                                  Citizen 20.1.01

                                  'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'

                                  W Offline
                                  W Offline
                                  wout de zeeuw
                                  wrote on last edited by
                                  #74

                                  Ah is that why... hmmm... to me it's like throwing the kid out with the bathwater though. I mean in practise I never pushed it that far, so with generated code in a separate partial class file was usable to me (I don't care too much for the academic cases). And second: they could have gone the way of asp.net, which has xml (html) markup and still a simple code file where all fields are defined. Maybe I'll get over it one day :-).

                                  Wout

                                  1 Reply Last reply
                                  0
                                  • C CataclysmicQuantum

                                    I'm thinking of just boycotting the technology. Why should I have to learn something new and complicated just for the sake of being up to date? I don't like WPF and how it makes thinks seem messy and more complicated. I should not have to write XML and hoolaguh boolahuh to make a button on a form. WinForms, GDI/+, OpenGL, and DirectX is all we need! Who is with me on this?

                                    The Digital World. It is an amazing place in which we primitive humans interact. Our flesh made this synthetic machine. You see, we are so smart, we know a lot of stuff. We were grown from cells that came from the universe, which the matter and physics I'm typing in it is amazing how the universe is working. Human life is very amazing. How I experience this sh*t its like wow.

                                    S Offline
                                    S Offline
                                    SeeBees
                                    wrote on last edited by
                                    #75

                                    At least, WPF has better performance than GDI+. And I love this tech, for all the new stuffs it brings.

                                    1 Reply Last reply
                                    0
                                    • C CataclysmicQuantum

                                      I'm thinking of just boycotting the technology. Why should I have to learn something new and complicated just for the sake of being up to date? I don't like WPF and how it makes thinks seem messy and more complicated. I should not have to write XML and hoolaguh boolahuh to make a button on a form. WinForms, GDI/+, OpenGL, and DirectX is all we need! Who is with me on this?

                                      The Digital World. It is an amazing place in which we primitive humans interact. Our flesh made this synthetic machine. You see, we are so smart, we know a lot of stuff. We were grown from cells that came from the universe, which the matter and physics I'm typing in it is amazing how the universe is working. Human life is very amazing. How I experience this sh*t its like wow.

                                      A Offline
                                      A Offline
                                      Almutalibi Mohamad
                                      wrote on last edited by
                                      #76

                                      I agree with you. The question is: how much time should I invest in this new complicated WPF to give my application a better look? does it worth?:confused:

                                      1 Reply Last reply
                                      0
                                      • S Shog9 0

                                        You do realize that modern displays require all graphics to be rasterized prior to actually appearing on the screen... right? The advantage of using a vector image as the source and rasterizing only when you know the exact size and resolution that will be required is that you won't distort or lose detail the way you will when scaling a pre-rasterized image.

                                        Citizen 20.1.01

                                        'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'

                                        P Offline
                                        P Offline
                                        Paul Watson
                                        wrote on last edited by
                                        #77

                                        You are arguing with a non-professional programmer who thinks a 2000x2000 bitmap is better than a vector for scaling (see above threads.)

                                        regards, Paul Watson Ireland & South Africa

                                        Fernando A. Gomez F. wrote:

                                        At least he achieved immortality for a few years.

                                        S 1 Reply Last reply
                                        0
                                        • C Christian Graus

                                          CataclysmicQuantum wrote:

                                          I'm thinking of just boycotting the technology.

                                          I better abandon it then, once people hear YOU'RE not using it.... The application that my company sells, uses WPF. Like all new technologies ( or old ones ) it's not perfect. The XAML syntax is too verbose, worse even than VB. There are plenty of bugs in WPF that MS have not fixed despite knowing about them, and some things I regard as design flaws ( there is no facility for managing your own memory, for example, you can't even call Dispose, it's not there ). However, the UI we get from using WPF is a major reason our program has been very successful, with an overwhelmingly positive response and sales beyond our expectations.

                                          Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

                                          P Offline
                                          P Offline
                                          Paul Watson
                                          wrote on last edited by
                                          #78

                                          Christian Graus wrote:

                                          However, the UI we get from using WPF is a major reason our program has been very successful, with an overwhelmingly positive response and sales beyond our expectations.

                                          And you can't argue with that.

                                          regards, Paul Watson Ireland & South Africa

                                          Fernando A. Gomez F. wrote:

                                          At least he achieved immortality for a few years.

                                          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