|
I have two environments I need to support. The primary one is on the embedded device side. My customer will never go back to anything Microsoft. There are crumbs for legacy products. All it takes is for one big customer to call a VP, and ... you know the drill.
I also have to support utilities that support stuff... I see Winforms as useful, but my goto is a lean Mfc. because it works.
I just wish Microsoft would get "omfg customers need us to be predictable" in their soul.
Charlie Gilley
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
Has never been more appropriate.
|
|
|
|
|
Daniel Pfeffer wrote: Most of the tools I write must run in a pure Win32/WinPE environment (I can't even rely on .NET). The UI design tools available for this are bad to non-existent, by today's standards.
You just made me realize I hadn't even thought about this for a very, very long time. Win32 is still a thing. Last time I wrote against it directly, there pretty much weren't any tools to build UIs interactively (at least not from MS); the closest, from MS, might have been the MFC designer, but then...MFC.
So, writing straight to Win32, in 2024, still doesn't have any viable options, huh? I guess that's an indicator it's really not the way to go...
|
|
|
|
|
I guess my experience of the appallingly-bad HTML produced by the WebForms designer must make me strange: I actually prefer hand-crafting XAML to using the WPF or WinForms designers.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
From a workflow perspective, i find i'm fastest when I can use the designer to rough out everything in broad strokes, and then switch to "code" to fine tune it.
That to me, is RADable workflow.
Otherwise things are just too cumbersome. Maybe I got spoiled by WinForms (and VB6 before it i guess) but I kind of expect that I can use a designer to come up with a reasonable mock of what I intend to develop, and if it can't do that, then the job is not done. I'm looking at you, Microsoft.
I just need a way to move forward that isn't terrible. Whether it's UWP, MAUI, AvaloniaUI, or whatever.
If it involves hand crafting overly annotated XML or otherwise too much fiddling I'm moving on to the next option, until I run out of options, at which point I'll pick the one I hate the least.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
I must be strange, too. I like hand-crafting the XAML. I feel I get better control of layout that way than with designers.
|
|
|
|
|
I preferred the roundtrippable code editing of winforms days.
I'd use drag and drop to get all of the basics in place, and then drop to code to hand tweak and fine tune everything.
I don't like the xaml because it's more verbose, and Microsoft puts a lot more eyes and hands on their "code-time" tools and features than their "xml time" tools and features, meaning i can drop whole lines of code often just by smashing tab a few times.
All in all it's just faster, and I get as much control as I would using other mechanisms. Exactly as automatic as I want it at any given point, but at no point is it REQURIED to be.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
Windows Forms (drag and drop) and XAML require different mental models. I felt Windows Forms "was it" until I needed "more". The WPF (XAML) "pain" went away with use and it became "perfect". UWP is more, and has even more to teach. Which is an attraction in itself. 60 FPS animations when you don't want to commit to Unity or Unreal Engine. And that's in XAML; or hand coded (me).
I can XAML faster than I can drag or drop ... want 24 pixel padding all around? Padding="24" (on the parent) ... no dragging or positioning of child elements. Change your mind? I don't have to "see it" to see it.
One can flip between XAML or "design view" if you need to see what you're crafting, but I rarely do. Usually only to see if any images I'm using are being "picked" up. And then, there's the (live) "visual tree inspector", etc.
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
|
|
|
|
|
If you don't know where to post it, post it in the lounge. Someone will reply and point you towards the right section of the forum
|
|
|
|
|
I think this is the appropriate forum. But that's just me.
Of course, the benefit of Q/A is that someone months from now may have the same question.
|
|
|
|
|
honey the codewitch wrote: They told me I should have put it in the lounge.
You could have phrased it perhaps a bit more specifically. But to me it looks like a valid question rather than a rant (as suggested.)
Other than that, I thought you liked to code to the metal. So why not just create your own.
|
|
|
|
|
I actually don't like reinventing the wheel.
I do enjoy building everything up from scratch when there's nothing already there, or when the things that are there simply aren't up to what I need them to do, but I doubt that's the case here.
What's more likely, is I am getting old, and stuck in my ways, and I got into a WinForms rut as the world moved on. It moved on without me and now I need to catch up.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
honey the codewitch wrote: the world moved on. It moved on without me and
I'm OK with that.
|
|
|
|
|
Largely I am too. But another part of me sees that as the sloth of aging.
I get comfortable, I get complacent. If that happens too often, I stop learning, and then you may as well start kicking dirt over me.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
Don't be afraid - as long as you ask yourself THIS Question you can't go wrong ...
By the way - I also prefer Forms and I have also no real connection to this "new World" ... (sorry for that)
|
|
|
|
|
called retirement
Charlie Gilley
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
Has never been more appropriate.
|
|
|
|
|
I probably won't ever fully retire. I'll be like Gene Winfield, loving what i do so much I'll be doing it until I'm 90 (if I'm lucky)
It's just who I am.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
honey the codewitch wrote: I probably won't ever fully retire
One needs to find something that they will like to do 40, 60 or even more hours in a week.
And it cannot be something that they are already doing, because of course then there are even more hours to fill up.
|
|
|
|
|
truth. Had a long conversation with my "boss" of 30 years. It's one thing to get to "I want to retire" - whatever that means, and entirely another to have something to do when you get there. I'm in the analysis part right now deciding what I want to do. Something different or a little less of what I do now? I love engineering and writing software, but I'm getting less tolerant of the pricks 20 years my junior.
Charlie Gilley
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
Has never been more appropriate.
|
|
|
|
|
charlieg wrote: getting less tolerant of the pricks 20 years my junior.
lol
I won't advise you but myself I do realize there are only two possibilities going forward. Either I die before my friends or they die before me.
For the first that could mean quite a few years with no friends.
Work (those juniors you mention) provides a pool of youngsters that allow me to go for the first option.
|
|
|
|
|
Charlie Gilley
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
Has never been more appropriate.
|
|
|
|
|
charlieg wrote: It's one thing to get to "I want to retire" - whatever that means, and entirely another to have something to do when you get there
I'm not particularly worried about that.
I love to code, but I've burnt overdoing it (evenings, weekends), so nowadays I hardly ever work on pet projects during my free time. But, for decades now, I've been telling myself when I do retire, I'll probably be working on code I've been meaning to write for a very, very long time, but isn't code I can write in my line of work, or get paid for - programs that I'd like to work on, but won't pay the bills.
That's what I see myself doing in retirement.
|
|
|
|
|
Okay - I have a funny for you . I'll get to your comment at the bottom.
My dad was an EE. Hard core. And as he got older, his buddies at IBM got into side businesses. At the time I did not know this - I was a young teen blundering his way through school, etc. But he bought a little sailboat. And I learned to sail it and race it in regattas. Hold that thought...
15+ years later I was in the middle of nurturing a GIANT family. Ask me offline if you want the details but 5 sons, 6 daughters, 3 combat veterans with a lot of combat tours (they got dirty) - lots of lost sleep. The boys went to war and the daughters are rougher than they are. I need a coat of arms that says "Piss and Vinegar".
So here I am at the "end" - and I thought it would be very attractive to go fishing and be left alone. I hate fishing. As for the sailboat - I live close to a large lake. I could grow old and die happy ....
"I'll probably be working on code I've been meaning to write for a very, very long time"
And you say that. I have a customer who really needs there manufacturing system re-written. It's on my list.
Charlie Gilley
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
Has never been more appropriate.
|
|
|
|
|
charlieg wrote: It's on my list.
I had to laugh out loud.
|
|
|
|
|
instead they will spend millions on some other solution .... I'm working it.
Charlie Gilley
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
Has never been more appropriate.
|
|
|
|
|
I like the "newness" of UWP. And any pain along the way; because when it does what it hinted at, it was worth it.
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
|
|
|
|