by Michael S. Kaplan, published on 2005/04/15 21:50 -04:00, original URI: http://blogs.msdn.com/b/michkap/archive/2005/04/15/408746.aspx
I am not going to claim our UI in Windows is so intuitive that we can trust that anything that is set is what the user really wants. In fact, I have stated many times that Regional Options is not intuitive.
But when a developer tells me that the reason they do not use the override information is that it may not be valid, in my opinion they are a bit thin. If you know what I mean.
After all, if the user never launches Regional Options then the overrides are identical to the original Windows data. If there are any differences, then somebody went into Regional Options and changed something. And they have a good faith basis for believing applications will pick those settings up. Not picking them up is kind of irresponsible in a client machine scenario....
Now my buddy Mike definitely points out a use of the NLS SetLocaleInfo function that is downright irresponsible, no question about it. After all, if ignoring the user's preferences is disrespectful, then supplanting their preferences wuth your own is downright obnoxious! What is up with some people?
Another pet peeve of mine related to all this was one that Dean pointed recently in his post Disabling ClearType in Reading Layout View. Now I agree that the ClearType settings are pretty hidden, but is the Word replacement any better? If you look at the poor documentation and the way it is buried in the registry in ways that are hard to find, the argument that the Desktop Control Panel settings are obscure is pretty specious. I would be a tremendous fan of anyone who ripped this code out, root and branch, and used the SystemParameterInfo function with the SPI_GETFONTSMOOTHING, SPI_GETFONTSMOOTHINGCONTRAST, and SPI_GETFONTSMOOTHINGTYPE flags. Consider this post a standing offer of a dinner somewhere nice that I will give to any Office developer who accomplishes that. :-)
The principle is simple -- follow the user preferences. If they did not feel strongly enough about changing them that they are untouched, then that too may be a preference. And a good developer does not ignore messages the user is sending to them....
This post brought to you by "®" (U+00ae, a.k.a. REGISTERED SIGN)
# Brant Gurganus on 15 Apr 2005 8:47 PM:
# Dean Harding on 16 Apr 2005 8:14 AM:
# Mike Williams on 16 Apr 2005 9:25 AM:
# Michael S. Kaplan on 16 Apr 2005 11:52 AM:
# Mike Williams on 16 Apr 2005 6:48 PM:
# Michael S. Kaplan on 16 Apr 2005 8:32 PM:
referenced by