Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Draw bugs with Vista/Win7 and MDI windows.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Draw bugs with Vista/Win7 and MDI windows.

 Post Reply Post Reply
Author
Message
Ark42 View Drop Down
Senior Member
Senior Member
Avatar

Joined: 20 October 2003
Status: Offline
Points: 291
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ark42 Quote  Post ReplyReply Direct Link To This Post Topic: Draw bugs with Vista/Win7 and MDI windows.
    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.

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.125 seconds.