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. WPF Pain In The Anal Pore

WPF Pain In The Anal Pore

Scheduled Pinned Locked Moved The Lounge
25 Posts 9 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

    Cool animated UI. Scratch that. We were able to create an app almost as cool as a Mac app. That's a better definition.

    Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )

    T Offline
    T Offline
    Todd Smith
    wrote on last edited by
    #13

    Christian Graus wrote:

    Cool animated UI. Scratch that. We were able to create an app almost as cool as a Mac app. That's a better definition.

    Google took over the world with a near blank page, a single edit box and a completely non-animated results page :cool:

    Todd Smith

    C R 2 Replies Last reply
    0
    • T Todd Smith

      Christian Graus wrote:

      Cool animated UI. Scratch that. We were able to create an app almost as cool as a Mac app. That's a better definition.

      Google took over the world with a near blank page, a single edit box and a completely non-animated results page :cool:

      Todd Smith

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

      Our app was more visual than a search engine :)

      Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )

      realJSOPR 1 Reply Last reply
      0
      • L Lutoslaw

        Christian Graus wrote:

        it's not easy to find out the position of an element on the screen ?

        WPF represents a new approach to programming. You can do this and that but if you want something different then it pops up and asks "Why the hell would you want to do that? There is a much better way to solve your problem but ha ha I'm not going to tell you (keep trying, looser).". My symphaties.

        Greetings - Gajatko Portable.NET is part of DotGNU, a project to build a complete Free Software replacement for .NET - a system that truly belongs to the developers.

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

        gajatko wrote:

        keep trying, looser)

        I'm looser than you ?

        Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )

        L 1 Reply Last reply
        0
        • T Todd Smith

          Christian Graus wrote:

          Cool animated UI. Scratch that. We were able to create an app almost as cool as a Mac app. That's a better definition.

          Google took over the world with a near blank page, a single edit box and a completely non-animated results page :cool:

          Todd Smith

          R Offline
          R Offline
          rastaVnuce
          wrote on last edited by
          #16

          I'm sure, if google was making its blank page today, it would've been a blank WPF page :)

          To hell with circumstances; I create opportunities.

          1 Reply Last reply
          0
          • realJSOPR realJSOP

            In WinForms, you could place a label, turn off auto size, and then have your way with the properties to modify the alignment. In WPF, you have to enclose a TextBlock with not one, but TWO border elements in order to set a border and color the background properly. Every day I use this crap pile, I find something else that is so insanely difficult to figure out and do that I wonder how anyone can work with it and honestly say they like it.

            "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

            N Offline
            N Offline
            nistrum404
            wrote on last edited by
            #17

            Am I missing something? Why not just put a label control on the form? Use a canvas if you want absolute positioning. I'm really enjoying working with WPF. It's as slow as hell even on good hardware but it's a real improvement for UI coding.

            --Matt

            realJSOPR 1 Reply Last reply
            0
            • C Christian Graus

              Yeah, I worked that out the other day, that is indeed a PITA. how about the fact that in WPF it's not easy to find out the position of an element on the screen ? I have two different panes I switch between and I wanted to manually position a video over one, then move it to be over the other as I swap. That proved to be too fraught with danger, which means my app is not as smooth as I'd like it to be.

              Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )

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

              Back when I started dickin' around with WPF, I was complaining about the annoying aspects of the WPF controls to someone here at work, specifically, the Label control regarding its lack of a Text property. They promptly informed me that if I want a Label control, I should use a TextBlock. However (and as I described above), the TextBlock control doesn't have the same abilities as the WinForms Label control. So, I switched to the Label control and it supports horizontal AND vertical alignment, as well as borders. WTF is Microsoft doing?

              "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
              • N Nish Nishant

                Wow - so you can post to this thread? All my attempts to reply to John failed in a weird way. The post fails, but the reply shows up in the Lounge for a few seconds, and on refreshing, the reply vanishes. I've reported a bug in the Suggestions forum. :~

                Regards, Nish


                Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
                My latest book : C++/CLI in Action / Amazon.com link

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

                The forums are written in WPF. What you're seeing is a known issue that Microsoft will fix when they switch to whatever succeeds WPF as their preferred erection-building technology.

                "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
                • C Christian Graus

                  Our app was more visual than a search engine :)

                  Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )

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

                  Ours isn't... I told them WPF would be a waste of time, but they're not having it.

                  "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
                  • N nistrum404

                    Am I missing something? Why not just put a label control on the form? Use a canvas if you want absolute positioning. I'm really enjoying working with WPF. It's as slow as hell even on good hardware but it's a real improvement for UI coding.

                    --Matt

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

                    nistrum404 wrote:

                    it's a real improvement for UI coding

                    Not when it takes you twice as long to do something that was brain-dead simple in WinForms. IMHO, WPF is a huge step backwards in productivity, and while I have no evidence of this yet, it's probably going to be a freakin' slug on our customers' machines. How is THAT better?

                    "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

                    N 1 Reply Last reply
                    0
                    • realJSOPR realJSOP

                      nistrum404 wrote:

                      it's a real improvement for UI coding

                      Not when it takes you twice as long to do something that was brain-dead simple in WinForms. IMHO, WPF is a huge step backwards in productivity, and while I have no evidence of this yet, it's probably going to be a freakin' slug on our customers' machines. How is THAT better?

                      "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

                      N Offline
                      N Offline
                      nistrum404
                      wrote on last edited by
                      #22

                      I'm finding it just as easy/productive as Winforms and much better when it comes to doing eye candy. Might be because I've got a history with web development and Flash. I think the big problem is it's all pretty vast and new. I'd imagine there's a steeper learning curve transitioning from forms development. Performance really is an issue though, especially when compared to the blazing animation speeds of Flash. I've got a layout routine that manipulates about 40 controls, animates about 20 of them, repositions some, deletes a few and adds a few more and it's taking a good tenth of a second to work. Anybody know if there's a way to suppress layout updates for a section of code? Every dependency property I change seems to cause a superfluous layout update immediately which is where I think my precious milliseconds are going.

                      --Matt

                      1 Reply Last reply
                      0
                      • C Christian Graus

                        gajatko wrote:

                        keep trying, looser)

                        I'm looser than you ?

                        Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )

                        L Offline
                        L Offline
                        Lutoslaw
                        wrote on last edited by
                        #23

                        It isn't my opinion. You missed quotation marks I guess. I apologise if you took that personally.

                        Greetings - Gajatko Portable.NET is part of DotGNU, a project to build a complete Free Software replacement for .NET - a system that truly belongs to the developers.

                        D 1 Reply Last reply
                        0
                        • L Lutoslaw

                          It isn't my opinion. You missed quotation marks I guess. I apologise if you took that personally.

                          Greetings - Gajatko Portable.NET is part of DotGNU, a project to build a complete Free Software replacement for .NET - a system that truly belongs to the developers.

                          D Offline
                          D Offline
                          Dan Neely
                          wrote on last edited by
                          #24

                          And you missed a typo even after having it rubbed in your face. :doh:

                          Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots. -- Robert Royall

                          L 1 Reply Last reply
                          0
                          • D Dan Neely

                            And you missed a typo even after having it rubbed in your face. :doh:

                            Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots. -- Robert Royall

                            L Offline
                            L Offline
                            Lutoslaw
                            wrote on last edited by
                            #25

                            Ah I see now. An extra 'o' in the 'looser' word. Well, I checked it in an on-line dictionary which I use all the time and it has both 'loser' and 'looser' (ling.pl). However there are several dictionaries and there is no 'looser' in the official one -- it exists in the Open Eng-Pl Dictionary only.

                            Greetings - Gajatko Portable.NET is part of DotGNU, a project to build a complete Free Software replacement for .NET - a system that truly belongs to the developers.

                            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