Pane title drawn incorrectly |
Post Reply |
Author | |
akur
Senior Member Joined: 16 May 2006 Status: Offline Points: 139 |
Post Options
Thanks(0)
Posted: 26 May 2006 at 5:05am |
When a pane is docked to the left or to the right, and autohide mode is turned on for it, then the pane's title is displayed incorrectly. Actually, the title text is not drawn vertically as it should be, but horizontally - so that only a part of the first letter is visible from the title text. This happens only on one of our computers.
Is this a known bug in Xtreme Toolkit Pro 10.1? Is there any workaround to avoid this unwanted effect? Thanks a lot, in advance! |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello, Can you attach screenshot what you see? What OS have this computer? |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
akur
Senior Member Joined: 16 May 2006 Status: Offline Points: 139 |
Post Options
Thanks(0)
|
It's a WinXP Pro with SP2. Screenshot attached - CodeJock sample named PaneSample. Look at the autohidden pane docked to the left.
|
|
akur
Senior Member Joined: 16 May 2006 Status: Offline Points: 139 |
Post Options
Thanks(0)
|
Hello,
maybe it's important to say that other software have no problem with drawing vertical texts (e.g. Visual Studio is also installed on that computer and its autohidden panes are absolutely OK). |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hmm. :( If you dock MenuBar vertically do you see same problem? |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
akur
Senior Member Joined: 16 May 2006 Status: Offline Points: 139 |
Post Options
Thanks(0)
|
Yes, it's the same problem. Here are the screenshots: menus docked to the left and docked to the right.
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Weird... may be some problems with installed Arial font on this computer. Can you copy Arial font from other computer to c:\WINDOWS\Fonts ?
Can you debug thru CString AFX_CDECL CXTPDrawHelpers::GetVerticalFontName(BOOL bUseOfficeFont) method (XTPDrawHelpers.cpp) and check what font it returns?
Thanks. |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
akur
Senior Member Joined: 16 May 2006 Status: Offline Points: 139 |
Post Options
Thanks(0)
|
Hello,
Arial font is exactly the same as on other machines, and GetVerticalFontName() returns "MS Shell Dlg", just like on all other machines. There's no difference in these. However, we've gone a bit further and found this: on the problematic computer, the "MS Shell Dlg" font is substituted in registry with MS Sans Serif (a raster font), but on all other machines it's substituted with Microsoft Sans Serif (a TrueType font). When we manually changed the substitution in the registry, the problem was solved at once. Pane titles and menubar are both correctly drawn now. It's a mistery why this single computer had such an unusual setting. Thanks for your guidance in solving this problem! |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |