How many of you use WPF
-
Shog9 wrote:
Mode X on DOS, yo!
[pulls out cane and climbs out of rocking chair] why back in my day, we rolled our own 3D graphics and button tools, kerned our own characters, even actually had to know how a line algorithm worked, especially an AA based one. I did 3D backfaced culling color, shaded, and perspective all in ModeX. :-D I still have the books too! off-screen buffers and all! :-D
_________________________ 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."
:D When i went from writing graphics-intensive programs for my own use (games, editors, trippy eyecandy...) on DOS (using a handful of libraries, some hand-tuned assembler, and a whole lot of custom supporting code) to writing text-heavy programs on Windows for the use of others (using mostly MFC and straight Win32), one of the first things that struck me was how little attention seemed to be paid to graphics... on a platform built for graphical user interfaces. It still amazes me. I remember implementing a simple GUI for a game using a simple markup language to describe controls, control groups, positioning algorithms, text alignment, etc. The actual controls were implemented from scratch to support this, and the whole thing scaled to whatever screen resolution was in use for the game at the time. Oh, and used back-buffering to reduce redraw time. Granted, it was somewhat memory intensive on the 4MB 486sx system i was using at the time, but i still didn't expect i'd have to wait quite so long to see Windows catch up... :rolleyes:
Citizen 20.1.01
'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
-
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.
Quite possibly the future of computing is not the WinForms model that has served well but the newer technologies of WF/WCF/WPF. Although presently a little slower than WinForms, future versions may hold surprises for you in terms of performance and functionality. So look into the WF/WCF/WPF forum and follows the posts and links given by Karl, Pete and myself following this thread header [^]. And just because it looks new and complicated is not in itself a reason not to attempt to learn it.
-
CataclysmicQuantum wrote:
You mean really neat looking and shiny applications. A good application is functional and easy to use.
Don't put words in my mouth because that's not what I mean. I mean business applications that can be put together quickly and without too much fuss. Yes, it's great to be able to put funky animations into an application, but it's better still to be able to deliver an application without too much hardwork. For instance - rather than having to hardwire menus and toolbars to determine whether or not an item can run, it's better to use routed commands and the rather neat Routed Commands architecture.
Deja View - the feeling that you've seen this post before.
Pete O'Hanlon wrote:
For instance - rather than having to hardwire menus and toolbars to determine whether or not an item can run, it's better to use routed commands and the rather neat Routed Commands architecture.
I think thats all unnecessary.
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.
-
Pete O'Hanlon wrote:
For instance - rather than having to hardwire menus and toolbars to determine whether or not an item can run, it's better to use routed commands and the rather neat Routed Commands architecture.
I think thats all unnecessary.
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.
CataclysmicQuantum wrote:
I think thats all unnecessary.
You would disagree with yourself if you actually knew what routed commands are.
:josh: My WPF Blog[^] All of life is just a big rambling blog post.
-
I wanted to use it for a little play-play application earlier today, when I was rudely reminded that my Intellisense doesn't work for XAML. I'm not getting in those waters without some kind of assist.
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.
-
:D When i went from writing graphics-intensive programs for my own use (games, editors, trippy eyecandy...) on DOS (using a handful of libraries, some hand-tuned assembler, and a whole lot of custom supporting code) to writing text-heavy programs on Windows for the use of others (using mostly MFC and straight Win32), one of the first things that struck me was how little attention seemed to be paid to graphics... on a platform built for graphical user interfaces. It still amazes me. I remember implementing a simple GUI for a game using a simple markup language to describe controls, control groups, positioning algorithms, text alignment, etc. The actual controls were implemented from scratch to support this, and the whole thing scaled to whatever screen resolution was in use for the game at the time. Oh, and used back-buffering to reduce redraw time. Granted, it was somewhat memory intensive on the 4MB 486sx system i was using at the time, but i still didn't expect i'd have to wait quite so long to see Windows catch up... :rolleyes:
Citizen 20.1.01
'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
Shog9 wrote:
I remember implementing a simple GUI for a game using a simple markup language to describe controls, control groups, positioning algorithms, text alignment, etc. The actual controls were implemented from scratch to support this, and the whole thing scaled to whatever screen resolution was in use for the game at the time.
I remember WRITING those. The tools I had back then were actually pretty amazing. It demonstrates both sides to the argument of having a foundation class set. When you settle for one tool that works for everyone you settle for ... well, mediocrity. But there were hundreds of us who reinvented the wheel with anywhere from 10% to as much as 99% overlap between our tools and SDKs. I wrote my own resource language structure, I built my own code-generator for the resource language, I hand tuned my own base libraries, and build low to high level. No one will ever remember the QWIKlib GUI and graphics set, it was retired when I moved to IrisGL, and then that to OpenGL. But even OpenGL didn't have some of the capability my old qwiklib had. Even Windows does not. Even though we all went common interface, we still spend all our learning and relearning a new SDK every so often. We never seem to catch up to the tools we had in the past. Pity. Some of us had some pretty nice stuff, it just didn't match someone else's pretty nice stuff, and then again, someone else's pretty nice stuff. There was a LOT of pretty nice stuff floating around out there.
_________________________ 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."
-
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.
CataclysmicQuantum wrote:
Why should I have to learn something new and complicated just for the sake of being up to date?
You don't need to learn WPF. If you're simply programming as a hobby, you have no need to stay up-to-date since your income level is not related to your programming skill set.
CataclysmicQuantum wrote:
I don't like WPF and how it makes thinks seem messy and more complicated.
Messy and complicated? Do you actually have any experience with WPF, or are you just blathering on because you like to sound well informed and up-to-date?
CataclysmicQuantum wrote:
I should not have to write XML and hoolaguh boolahuh to make a button on a form.
No need. XAML is 100% optional.
CataclysmicQuantum wrote:
WinForms, GDI/+, OpenGL, and DirectX is all we need!
We? Speak for yourself...
CataclysmicQuantum wrote:
Who is with me on this?
People whose income is not affected by not knowing WPF. Close-minded Luddites who think their chosen technology is, and forever will be, superior to everything else.
:josh: My WPF Blog[^] All of life is just a big rambling blog post.
-
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
I'll try that argument on my new boss (my current one's retiring) when he bitches about the effort I'm putting into our UI's.
Software Zen:
delete this;
Fold With Us![^] -
CataclysmicQuantum wrote:
I think thats all unnecessary.
You would disagree with yourself if you actually knew what routed commands are.
:josh: My WPF Blog[^] All of life is just a big rambling blog post.
They are like delegates I suppose. I'm the simpsons guy that says "Yep. sounds bout right to me." I'm sure you know what I'm talking about.
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.
-
You don't need antialising, or vector graphics on a button.
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.
CataclysmicQuantum wrote:
You don't need antialising, or vector graphics on a button
BBRRRRRNNNNGGGGG! Wrong answer! 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.
Software Zen:
delete this;
Fold With Us![^] -
CataclysmicQuantum wrote:
You don't need antialising, or vector graphics on a button
BBRRRRRNNNNGGGGG! Wrong answer! 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.
Software Zen:
delete this;
Fold With Us![^]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.
-
CataclysmicQuantum wrote:
Why should I have to learn something new and complicated just for the sake of being up to date?
You don't need to learn WPF. If you're simply programming as a hobby, you have no need to stay up-to-date since your income level is not related to your programming skill set.
CataclysmicQuantum wrote:
I don't like WPF and how it makes thinks seem messy and more complicated.
Messy and complicated? Do you actually have any experience with WPF, or are you just blathering on because you like to sound well informed and up-to-date?
CataclysmicQuantum wrote:
I should not have to write XML and hoolaguh boolahuh to make a button on a form.
No need. XAML is 100% optional.
CataclysmicQuantum wrote:
WinForms, GDI/+, OpenGL, and DirectX is all we need!
We? Speak for yourself...
CataclysmicQuantum wrote:
Who is with me on this?
People whose income is not affected by not knowing WPF. Close-minded Luddites who think their chosen technology is, and forever will be, superior to everything else.
:josh: My WPF Blog[^] All of life is just a big rambling blog post.
Josh Smith wrote:
No need. XAML is 100% optional.
Well then why won't Visual Studio let me drop controls on my WPFApp without creating XML and a bunch of hidden dirty looking code? If I cant use WYSIWYG then there is no point.
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.
-
Josh Smith wrote:
No need. XAML is 100% optional.
Well then why won't Visual Studio let me drop controls on my WPFApp without creating XML and a bunch of hidden dirty looking code? If I cant use WYSIWYG then there is no point.
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.
CataclysmicQuantum wrote:
If I cant use WYSIWYG then there is no point.
Seriously? :laugh:
:josh: My WPF Blog[^] All of life is just a big rambling blog post.
-
Shog9 wrote:
I remember implementing a simple GUI for a game using a simple markup language to describe controls, control groups, positioning algorithms, text alignment, etc. The actual controls were implemented from scratch to support this, and the whole thing scaled to whatever screen resolution was in use for the game at the time.
I remember WRITING those. The tools I had back then were actually pretty amazing. It demonstrates both sides to the argument of having a foundation class set. When you settle for one tool that works for everyone you settle for ... well, mediocrity. But there were hundreds of us who reinvented the wheel with anywhere from 10% to as much as 99% overlap between our tools and SDKs. I wrote my own resource language structure, I built my own code-generator for the resource language, I hand tuned my own base libraries, and build low to high level. No one will ever remember the QWIKlib GUI and graphics set, it was retired when I moved to IrisGL, and then that to OpenGL. But even OpenGL didn't have some of the capability my old qwiklib had. Even Windows does not. Even though we all went common interface, we still spend all our learning and relearning a new SDK every so often. We never seem to catch up to the tools we had in the past. Pity. Some of us had some pretty nice stuff, it just didn't match someone else's pretty nice stuff, and then again, someone else's pretty nice stuff. There was a LOT of pretty nice stuff floating around out there.
_________________________ 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."
El Corazon wrote:
We never seem to catch up to the tools we had in the past. Pity. Some of us had some pretty nice stuff, it just didn't match someone else's pretty nice stuff, and then again, someone else's pretty nice stuff.
Well, that's one reason why i'm less concerned now about writing my own libraries for things i need when what's available doesn't quite match. Sometimes it really is easier to churn out a pile of mostly-disposable code than to learn someone else's idea of how it should be written and then modify it to fit your needs anyway. Not that there aren't good, useful libraries that would take me far too long to re-implement and test... but when it comes to GUIs, they seem very rare. I'm learning now how to use the accessibility APIs on Windows so that i can use custom controls without worrying about breaking things for QA or disabled users.
Citizen 20.1.01
'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
-
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.
I haven't started learning it yet, but I've got the book on my desk. In over 20 years, I've never gone hungry keeping up with microsoft technology.
Please excuse my refusal to participate in the suicide of western civilization
-
I think people devote too much attention to sparkle and piz'az of the GUI. The GUI should be functional not some kind of art show.
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.
I'm on your side mister, the GUI just needs to enable the user to work efficiently with as little mouse clicks and movements as possible. And it needs to feel natural and logical. Ofcourse it helps if it's not butt ugly too, if you have to stare at it all day it gets kinda tiring if it's bright purple + green.
Wout
-
Kevin McFarlane wrote:
I don't use it myself but our application (software for controlling an industrial print machine) uses it.
Why couldn't you design the application without the use of such controls? In the world of programming and application design there are many possibilities to accomplish the goal. I believe a simple bitmap would be a better solution that a 3d rendered control.
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.
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
-
CataclysmicQuantum wrote:
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!
WinForms? GDI? OpenGL? DirectX?! That's an awful lot of mess and complication there. Gimme a framebuffer and an event queue and i'll give you all the buttons you need. Well, unless you want properly-kerned, nicely-antialiased text on those buttons. Or want them scaled appropriately for the actual resolution of the display. I'll need a bit of extra support for that. Oh, and maybe you'd like to support screen readers and other accessibility tools for disabled users. Yeah, i'll need some extra stuff there too. Oh, you want an image drawn on the button? Loaded from a file at runtime? A vector image, drawn with proper antialiasing, blending, filtering... Yeah, no sense re-inventing the wheel - i guess i could use a bit of support on that front as well. Don't get me wrong - there are problems with WPF, first and foremost that it was released a decade later than it should have been. But there are reasons for a lot of it, and you should learn what those are before talking too much trash. ...And FWIW, you don't actually have to use XAML.
Citizen 20.1.01
'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
Yeah, but the designer uses xaml. I actually liked the win forms code generation, where you had easy access to the generated UI element fields. Still learning though, so not very opinionated yet.
Wout
-
Yeah, but the designer uses xaml. I actually liked the win forms code generation, where you had easy access to the generated UI element fields. Still learning though, so not very opinionated yet.
Wout
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.'
-
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.
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.'