Log in

No account? Create an account
Bill Roper's Journal
Surely They're Joking 
8th-Oct-2012 02:48 pm
Apparently, if you are using Visual Studio 2010 and the Windows Forms Designer, you had better not have the sheer audacity to do so on a computer that has the default font size set to 120 DPI instead of the standard of 96 DPI. If you do, nothing that you code will actually work on any machine running at 96 DPI.

That's insane.
8th-Oct-2012 07:56 pm (UTC)

Not a computer geek but even _I_ can see that's just garbage.
9th-Oct-2012 12:44 am (UTC)
Carmen Miranda's ghost is... groaning.
8th-Oct-2012 10:14 pm (UTC)
That's Windoesn't.
8th-Oct-2012 10:53 pm (UTC)
Wow. That IS insane.

I mean, I thought code was text. Like, either ASCII or numbers, right? HOW CAN THAT CHANGE BASED ON THE DOTS PER INCH?!?!query-eleventy-bang!

Thank you for giving my day its head-desk moment.
8th-Oct-2012 10:58 pm (UTC)
In this case, the Visual Studio IDE provides a (supposedly) WYSIWYG environment that allows you to position controls on the face of the form. So I am drawing, which means that being able to work seamlessly in environments with different values for DPI on the monitor is important.

Not important enough to get right, mind you, but important.
8th-Oct-2012 11:03 pm (UTC)

Okay that's sick and wrong but at least I now understand how it could possibly happen. Thank you.
9th-Oct-2012 02:23 pm (UTC)
No program, so far as I can tell, actually works right if you changed the DPI, or the "Make text larger" accessibility options. The entire underlying machinery is hosed.
9th-Oct-2012 02:51 pm (UTC)
Well, my old MFC programs didn't do this evil thing. The dialogs may have appeared smaller on a 120 DPI screen, but they didn't get weird.

WPF is "supposed" to be better. I haven't tried it, since there's no chance of actually changing.
9th-Oct-2012 03:15 pm (UTC)
Maybe it's because we're going in opposite directions. By increasing the dpi, you're making pixel counted things smaller. I want to expand the stuff so I can read it. At which point buttons start overlapping, falling off stuff. It's bad.
This page was loaded Sep 28th 2022, 8:02 pm GMT.