Groups | Blog | Home
all groups > dotnet internationalization > february 2005 >

dotnet internationalization : Mirrored TabControl on XP


Latief
2/20/2005 12:09:03 PM
I m working on an Arabic/English project.
One of the first recommendations was the Mirroring technique for Controls
that Do no draw themsleves from the Right .
The mirroring can be applied successfully on the TabControl when it is
running on (win2003 and Winxp - actually my testing environemnt) , but
at the moment i added the .manifest file to support XP theme for the
controls(common controls version 6) ==> All the Tab Titles(captions) are
Drawn from the LEFT (wich will make arabic totally unreadable) - only when
using Common-controls version 6 (this happens only on XP - on 2003 it is
drawn correctly)

Any suggestions ? Am i missing something ?

Ted
2/20/2005 8:57:36 PM
Microsoft forgot to implement or ran out of time when implementing most of
the visuals for XP themed tabs (another example is: tabs aren't drawn
properly when having tabs at bottom).

Unfortunately, you have two choices, implement your own drawing of the tabs
when themes is turned on, or use non-themed tabs (turn off themes for just
the tab control using SetWindowTheme)

Ted.

[quoted text, click to view]

marinm NO[at]SPAM online.microsoft.com
3/2/2005 12:31:33 AM
Unfortunately, you will have to implement this manually, but there is a
whitepaper which describes how to implement mirroting. Please take a look
at this article: http://www.microsoft.com/middleeast/msdn/mirror.aspx
Marin Millar [MSFT]
AddThis Social Bookmark Button