News Archives 
   
(click month to expand)
  

Recent Technology News Stories

Solentive News
You'll flip if you see the early right-to-left builds of products (aka Don't flip if you have to flip or not flip)  [click for more...]

Regular reader Serge Wautier asked over in the microsoft.public.win32.programmer.international newsgroup:

By default, progress bar fill from left to right in LTR locales and right-to-left in RTL locales.

When I added support for RTL languages to appTranslator, I decided that it was not a good idea and I added code to defeat this behaviour in dialogs that contain progress bars:

Rather than simply addin WS_EX_LAYOUTRTL to the dialog layout, I also added WS_EX_NOINHERITLAYOUT and I added WS_EX_LAYOUTRTL to all controls but progress bars.

For reasons beyond my understanding, I never ever considered that a progress bar filling from right to left was the desired behaviour!

Time flew. I am now investigating a related problem and I realize I was most likely stupid and I should fix this stupid design decision. Before I do it, I'd like to make sure I was dumb hence my question to you RTL knowledgeable people out there:

What should be the filling direction of a progress bar in RTL locales: RTL or LTR?

Sorry for the apparently stupid question but I'm confused ;-)

(In this case, they should in fact be mirrored, for what it is worth....)

But this is not a stupid question, really. Well, at least if it is I wish people would be willing to risk acting stupid a bit more often, since I have seen my share of improperly mirrored dialogs and applications in my time.

In fact there were some pre-release versions of Vista that were incorrectly mirroring the datetime dialog and the clock gadget -- and believe me you will never feel as not-stupid about mirroring as when you saw a copy of Vista doing this:

or this:

Thankfully these bugs were fixed prior to ship. :-) 

The fact is that for each user interface component (be it a progress bar, clock, calendar, dialog, menu, or whatever) there is an expected behavior. And the initial builds of RTL user interface languages are almost guaranteed to have mistakes in them with things that are either not flipped when they should be or over-actively flipped like in these examples.

There is no one rule to follow, though the best bet when dealing with localized user interfaces is that rather than trying to solve the problems completely in code in some automated way, you make sure that the setting is exposed to localizers in some way, since they are the people who are being paid to bring their expertise to the situation and decide what to flip and what not to flip....

Then the second rule is to have people who know what the conventions are reviewing the user interface, so they can tell you when things are right and when they are wrong. Then if you know who did (or did not do) the flipping you'll know if it is your bug, a localization bug, or both.

And the third rule -- don't flip if you have to flip or not flip. If you know what I mean. :-)

 

This post brought to you by (U+260f, a.k.a. WHITE TELEPHONE)

4/10/2007   [Link]
AdHawkMailer an ASP.NET Component for Sending Email in VB.NET  [click for more...]
AdHawkMailer an ASP.NET Component for Sending Email in VB.NET
4/10/2007   [Link] AdamNThompson
Customary functions of GridView in ASP.NET 2.0  [click for more...]
The most advanced works which you can do with GridView in ASP.NET 2.0.
4/10/2007   [Link] Behrouz Rad
FastCGI makes PHP fast and reliable on IIS  [click for more...]

Microsoft has just announced the Go Live release of its FastCGI Extension for IIS 5.1/6.0 (FastCGI Extension). This FastCGI Extension release is supported on IIS 6.0 on Windows Server 2003 for a fully scalable production environment and IIS 5.1 on Windows XP in order to support developers who build their Web applications on Windows client machines. This provides developers easy access to build and deploy a broader range of Web applications on the Microsoft platform. Here's the full announcement for even more information about the release.

4/10/2007   [Link]
.NET framework: now with source code  [click for more...]

Scott just announced it:
http://weblogs.asp.net/scottgu/archive/2007/10/03/releasing-the-source-code-for-the-net-framework-libraries.aspx

This will make debugging .NET apps a lot easier...

4/10/2007   [Link]
Opening the door to .NET 3.5  [click for more...]

My first "official" blog post and what exciting news to report! First of all, a big thank you is in order to Joe Stagner for helping me set this up. It's a huge honor to have found a new home here.

Scott Guthrie has just announced that Microsoft will be delivering the source code to the .NET 3.5 framework later this year. It will be available as a standalone install so you can actually use any text editor to view it. This is major news. Although I have admittedly taken a peek in the past at what the framework code looks like, this is really just putting it all out there. You'll even be able to step-through the framework code from VS 2008.

What a way to kick-off the new blog. I'll be transferring my existing blog entries in the next days and I look forward to hearing from everyone.

4/10/2007   [Link]
.NET Framework Libraries Source Code  [click for more...]

Scott just announced that his team will be  releasing the souce code to the .NET base class libraries, ASP.net, Windows Forms and WPF!

The big advantage to this is that when you are stepping through the code, you no longer see the horrible "[External Code]' in your call stack. You are taken right to the source code! This really really helps in understanding how the internals of the classes work.

Wonder what I am going to do with reflector...hmm...

Read more at Scotts' blog

PS: The source code is being released under Ms-RL which means that I can view but I'm not allowed to copy and paste the source code.

4/10/2007   [Link]
Me too post: Holy crap, the .NET source code!  [click for more...]

Read ScottGu's post. Feel the goodness.

What a very different world .NET lives in at Microsoft. Imagine saying to hell with Windows and starting over the way .NET did. That would be something. 

4/10/2007   [Link]
Object Oriented Ajax  [click for more...]
Object Oriented AJAX class and objects structured for ease of use and maintainability for multiple requests.
4/10/2007   [Link] VectorX
MS is Releasing the Source Code for the .NET Framework Libraries!  [click for more...]
Scott Guthrie, plus others at Microsoft have released the latest news - Releasing the Source Code for the .NET Framework Libraries!!  Enjoy!
Cross posted from my blog at http://schema.sol3.net/kbarrows
4/10/2007   [Link]
Better Together: ASP.NET and Silverlight  [click for more...]
This week on the Silverlight site Shawn Wildermuth presents three videos that demonstrate how ASP.NET and Silverlight work together, with a focus on using ASP.NET to generate dynamic, reusable XAML.
4/10/2007   [Link]
.NET Framework Libraries Source Code - License - MS-RL  [click for more...]

When I first read Scott's post, I did not read the Microsoft Reference License (Ms-RL) which the .net Framework libraries is released under.

The key thing to remember is this:

"Reference use" means use of the software within your company as a reference, in read only form, for the sole purposes of debugging your products, maintaining your products, or enhancing the interoperability of your products with the software, and specifically excludes the right to distribute the software outside of your company.

4/10/2007   [Link]
Copyright © 2007 Solentive | Disclaimer | Contact | Home