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 CataclysmicQuantum

    Gary R. Wheeler wrote:

    You do if the image on the button must remain proportional to the size of the button, the button size can change, and you want it to look decent. Such as in my application which represents components in a piece of equipment using buttons.

    If you are using images then vector graphics wont help you any.

    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
    Shog9 0
    wrote on last edited by
    #48

    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.'

    C P 2 Replies Last reply
    0
    • W wout de zeeuw

      Bitmap means resolution dependence, and with the every increasing variety of displays out there it makes increasingly more sense to do resolution indepdendent graphics like WPF attempts. I haven't used it that much yet, so I'm still undecided whether I like it or not.

      Wout

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

      Why not a bitmap large enough to scale?

      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
      • 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.'

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

        You are over complicating things.

        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 1 Reply Last reply
        0
        • C CataclysmicQuantum

          You are over complicating things.

          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
          Shog9 0
          wrote on last edited by
          #51

          CataclysmicQuantum wrote:

          You are over complicating things.

          Boy... There are a lot of surprises still in store for you.

          Citizen 20.1.01

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

          C 1 Reply Last reply
          0
          • S Shog9 0

            CataclysmicQuantum wrote:

            You are over complicating things.

            Boy... There are a lot of surprises still in store for you.

            Citizen 20.1.01

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

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

            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 1 Reply Last reply
            0
            • C Christian Graus

              WPF runs on XP

              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
              #53

              Thanks, but I am well aware of WPF on XP. It's just not the preferred method of generating user interfaces on XP.

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

              C 1 Reply Last reply
              0
              • G Gene OK

                Thanks, but I am well aware of WPF on XP. It's just not the preferred method of generating user interfaces on XP.

                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
                #54

                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 M 2 Replies 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.

                  C Offline
                  C Offline
                  Chris Maunder
                  wrote on last edited by
                  #55

                  CataclysmicQuantum wrote:

                  Why should I have to learn something new and complicated just for the sake of being up to date

                  This is what being a developer is all about. In all seriousness if this isn't what you enjoy then probably time to think of another vocation.

                  cheers, Chris Maunder

                  CodeProject.com : C++ MVP

                  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.

                    J Offline
                    J Offline
                    Joe Woodbury
                    wrote on last edited by
                    #56

                    I haven't, but I looked into it for business reasons and was very disappointed. The sample applications I found looked good, but were slow and used a massive amount of system resources (the simplest operation in one applet caused 40% CPU utilization, another used 10% just sitting there.) Looking more into it, it appears that the moment you depart from the simple, WPF becomes a nightmare. Quite honestly, I don't like WinForms much either, especially how it doesn't separate interface and implementation the way traditional dialog boxes do.

                    Anyone who thinks he has a better idea of what's good for people than people do is a swine. - P.J. O'Rourke

                    1 Reply Last reply
                    0
                    • C CataclysmicQuantum

                      Why not a bitmap large enough to scale?

                      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
                      #57

                      CataclysmicQuantum wrote:

                      Why not a bitmap large enough to scale?

                      anisotropism moiré patterns and other aliasing artifacts. Not to mention the memory. How big is big enough to scale? 256x256? 512x512? 1024x1024? 16384x16384?

                      _________________________ 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:

                        Why not a bitmap large enough to scale?

                        anisotropism moiré patterns and other aliasing artifacts. Not to mention the memory. How big is big enough to scale? 256x256? 512x512? 1024x1024? 16384x16384?

                        _________________________ 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
                        #58

                        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 1 Reply Last reply
                        0
                        • 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
                                          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