Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - SetWindowPlacement error with Office2007 frame
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

SetWindowPlacement error with Office2007 frame

 Post Reply Post Reply
Author
Message
Arild View Drop Down
Newbie
Newbie


Joined: 08 February 2007
Location: Norway
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote Arild Quote  Post ReplyReply Direct Link To This Post Topic: SetWindowPlacement error with Office2007 frame
    Posted: 08 February 2007 at 3:53pm
Bug can be reproduced with Stylerbrowser sample:
- Enable option "Restore window position" under Tools - Styler options menu.
- Maximize window and end close Stylerbrowser.
- Start Stylerbrowser again, and a 4 pixels wide frame is not painted correctly.
 
Is there anything I can do to fix this in my application ?
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 09 February 2007 at 2:01am
Hi,
What vesion you have? I can't reproduce it :(
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Arild View Drop Down
Newbie
Newbie


Joined: 08 February 2007
Location: Norway
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote Arild Quote  Post ReplyReply Direct Link To This Post Posted: 09 February 2007 at 2:58am
I'm using 10.4.2
When maximizing the app the WNDPLACEMENT contains 0,0,1600,1200, but when debugging a maximized app using office2007 frame its size is -4,-4,1604,1204 or something. Seems to me that when I restore the windowsize by using SetWindowPlacement on startup I dont get the correct -4.
Could it be hw driver releated ?
Back to Top
Arild View Drop Down
Newbie
Newbie


Joined: 08 February 2007
Location: Norway
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote Arild Quote  Post ReplyReply Direct Link To This Post Posted: 09 February 2007 at 3:03am
When maximizing the app and saving the WNDPLACEMENT when app close, it contains 0,0,1600,1200.
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 09 February 2007 at 4:56am
Hi,
 
What OS do you have?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Arild View Drop Down
Newbie
Newbie


Joined: 08 February 2007
Location: Norway
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote Arild Quote  Post ReplyReply Direct Link To This Post Posted: 09 February 2007 at 5:54am
WinXP SP2, Dell M90, nVidia Quadro FX 2500M, 84.29
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.031 seconds.