Print Page | Close Window

SetWindowPlacement error with Office2007 frame

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=6358
Printed Date: 12 November 2025 at 9:47am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: SetWindowPlacement error with Office2007 frame
Posted By: Arild
Subject: SetWindowPlacement error with Office2007 frame
Date 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 ?



Replies:
Posted By: Oleg
Date Posted: 09 February 2007 at 2:01am
Hi,
What vesion you have? I can't reproduce it :(


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Arild
Date 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 ?


Posted By: Arild
Date Posted: 09 February 2007 at 3:03am
When maximizing the app and saving the WNDPLACEMENT when app close, it contains 0,0,1600,1200.


Posted By: Oleg
Date Posted: 09 February 2007 at 4:56am
Hi,
 
What OS do you have?


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Arild
Date Posted: 09 February 2007 at 5:54am
WinXP SP2, Dell M90, nVidia Quadro FX 2500M, 84.29



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