Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Application fails to minimize
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Application fails to minimize

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

Joined: 13 August 2007
Location: United States
Status: Offline
Points: 931
Post Options Post Options   Thanks (0) Thanks(0)   Quote rdhd Quote  Post ReplyReply Direct Link To This Post Topic: Application fails to minimize
    Posted: 10 August 2009 at 12:20pm
Open and build the ribbon sample.
 
Start the sample app.
 
Maximize the window.
 
Hit the "Windows+m" key. the app minimizes.
 
Right-click the ribbon sample icon in the task bar.
 
Click "restore". the app restores to the maximize state.
 
Hit the "Windows+m" key. The app fails to minimize.
 
Back to Top
rdhd View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 August 2007
Location: United States
Status: Offline
Points: 931
Post Options Post Options   Thanks (0) Thanks(0)   Quote rdhd Quote  Post ReplyReply Direct Link To This Post Posted: 10 August 2009 at 4:36pm
I have found that if I hit the restore icon on the command (frame) ribbon one time, it "fixes" the problem.
 
I have also set a conditional break point is our lowest level windows message processing loop looking for the WM_SYSCOMMAND. After I run the steps to duplicate the problem, no such message is trapped (until I perform the above). This one doesn't seem to be related at all to the window styles as I have also oberved the frame's styles before and after the repro and they are identical. Its as if Windows doesn't "see" our app has been restored after we get a WM_SYSCOMMAND to restore the app.
 
Anyone (Oleg) have any thoughts on a work-around for this one?
Back to Top
jpbro View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 January 2007
Status: Offline
Points: 1355
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpbro Quote  Post ReplyReply Direct Link To This Post Posted: 10 August 2009 at 7:38pm
I don't think this is a problem with CJ - I notice the same behaviour for windows from every other app that I try these steps with on Vista 32-Bit Home.
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3

Language: Visual Basic 6.0 SP6

Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Posted: 11 August 2009 at 2:59am
I agree. This is why I stepped away from Win+M to Win+D, since the former does not work in all cases.
PokerMemento - http://www.pokermemento.com/
Back to Top
rdhd View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 August 2007
Location: United States
Status: Offline
Points: 931
Post Options Post Options   Thanks (0) Thanks(0)   Quote rdhd Quote  Post ReplyReply Direct Link To This Post Posted: 11 August 2009 at 10:17am
I tried this with Office '07 and Visual Studio '08 without reproducing. So I stopped there. However I just did it with the Visual Studio '07 help app. And I can also duplicate it with Windows Explorer. I also found that if I hit the restore icon on those apps, it doesn't always fix the problem. But I move the window a bit after hitting restore and then windows+m affects the app. So jpbro is correct. I'll send this one to Microsoft and see what they say. Probably a 25 year old KB article out there somewhere that details how in 39 easy steps we can work-around the bug. I'll try it on Windows 7 too. So far our experience with Windows 7 is that all the Win 98 through Vista bugs have made the Windows 7 cut.
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.063 seconds.