Print Page | Close Window

Draw bugs with Vista/Win7 and MDI windows.

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=16507
Printed Date: 28 September 2024 at 9:31pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Draw bugs with Vista/Win7 and MDI windows.
Posted By: Ark42
Subject: Draw bugs with Vista/Win7 and MDI windows.
Date Posted: 24 March 2010 at 3:51pm
I've had a bug with an easily reproducible graphics glitch involving MDI windows which has been open since March 6. Usually you guys have a solution in a few days it seems with all the bugs I've submitted in IssueTrak in the past, but this one I have not heard a word on in over 2 weeks. Not sure if nobody is seeing it anymore and forgot about it or what.

Anybody else run into this kind of bug?



This can be reproduced in 13.3.1 with SkinMDISample if using Vista or Windows 7.

They will not show up with m_clientFrame = xtpTabFrameBorder, but will show up with xtpTabFrameSingleLine or if you are not using MTI at all, just plain MDI.

In the function: CMainFrame::SetTheme()
Just before the line: m_MTIClientWnd.GetPaintManager()->RefreshMetrics();
Add this: m_MTIClientWnd.GetPaintManager()->m_clientFrame = xtpTabFrameSingleLine;


* For this first bug to show up, you must change your screen resolution. It does not matter what you change it to, or if you change it back, the bug will show up until you reboot.

Run the app, select the Skins and Themes tab, then select Default Skins = Default, and CommandBars Theme = Office 2003
Close the "System Dialogs" docking pane. Maximize the MDI child as well as the app itself.
Notice 4 pixel wide vertical strip of funny grey-blue to the right of the scrollbar.


* These will show up any time, no need to change screen resolution.

In the SkinFramework dialog, select Default Skins = Office 2007 and CommandBars Theme = Native WinXP
Press the New file button to open SkinMD2, then restore and re-maximize SkinMD2. Switch to SkinMD1 by clicking on its tab.
Watch as the scrollbar bottom jumps down by 4 pixels, cutting off part of the bottom arrow box.

Restore the app, leaving SkinMD1 maximized within the app, then switch to SkinMD2 by clicking on its tab.
Watch as the scrollbar is now cut off by 4 pixels on the right side as well as the bottom.




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net