When I use displayBox of a window, I am getting its 'internal' display box, not the 'real' size,
e.g. the frame of a window that includes the window's functions like the close-button is missing. Is there a way to get the external window size ? __________________________________________________________
_______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Expand the rectangle by: OSSystemSupport concreteClass new windowDecorationRectangle. It only returns a true value for Windows, all other platforms answer the same default guess (at least on 7.7.1). Steve From: [hidden email] [mailto:[hidden email]] On Behalf Of BREITH Karl-Albert (AREVA) When I use displayBox of a window, I am getting its 'internal' display box, not the 'real' size, e.g. the frame of a window that includes the window's functions like the close-button is missing. Is there a way to get the external window size ? __________________________________________________________ _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Expand the rectangle by: OSSystemSupport concreteClass new windowDecorationRectangle. i.e. win displayBox expandedBy: OSSystemSupport concreteClass new windowDecorationRectangle. J Steve From: BREITH Karl-Albert (AREVA) [mailto:[hidden email]] The return is something like (VW 7.8): Rectangle origin: [hidden email] corner: [hidden email] (Linux/Motif) and Rectangle origin: [hidden email] corner: [hidden email] (Windows XP) What is the meaning of this rectangle ? Karl __________________________________________________________ Important Note: This e-mail may contain trade secrets or privileged, undisclosed or otherwise confidential information. If you have received this e-mail in error, you are hereby notified that any review, copying or distribution of it is strictly prohibited. Please inform us immediately and destroy the original transmittal. Thank you for your cooperation. Von: [hidden email] [mailto:[hidden email]] Im Auftrag von Steven Kelly Expand the rectangle by: OSSystemSupport concreteClass new windowDecorationRectangle. It only returns a true value for Windows, all other platforms answer the same default guess (at least on 7.7.1). Steve From: [hidden email] [mailto:[hidden email]] On Behalf Of BREITH Karl-Albert (AREVA) When I use displayBox of a window, I am getting its 'internal' display box, not the 'real' size, e.g. the frame of a window that includes the window's functions like the close-button is missing. Is there a way to get the external window size ? __________________________________________________________ _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Rectangle origin: [hidden email] corner: [hidden email] The above should mean that the external window border is 4 pixels further left, 4 pixels further right, 23 pixels further up, and 4 pixels further down from the VW window's internal bounds. [hidden email] From: Steven Kelly <[hidden email]> To: BREITH Karl-Albert (AREVA) <[hidden email]> Cc: [hidden email] Sent: Thu, August 4, 2011 4:43:31 AM Subject: Re: [vwnc] How do I get the external window size (not itsdisplayBox) Expand the rectangle by: OSSystemSupport concreteClass new windowDecorationRectangle. i.e. win displayBox expandedBy: OSSystemSupport concreteClass new windowDecorationRectangle. J Steve
From: BREITH Karl-Albert (AREVA) [mailto:[hidden email]]
The return is something like (VW 7.8):
Rectangle origin: [hidden email] corner: [hidden email] (Linux/Motif) and Rectangle origin: [hidden email] corner: [hidden email] (Windows XP)
What is the meaning of this rectangle ?
Karl
__________________________________________________________ Important Note: This e-mail may contain trade secrets or privileged, undisclosed or otherwise confidential information. If you have received this e-mail in error, you are hereby notified that any review, copying or distribution of it is strictly prohibited. Please inform us immediately and destroy the original transmittal. Thank you for your cooperation.
Von: [hidden email] [mailto:[hidden email]] Im Auftrag von Steven Kelly Expand the rectangle by: OSSystemSupport concreteClass new windowDecorationRectangle. It only returns a true value for Windows, all other platforms answer the same default guess (at least on 7.7.1). Steve
From: [hidden email] [mailto:[hidden email]] On Behalf Of BREITH Karl-Albert (AREVA)
When I use displayBox of a window, I am getting its 'internal' display box, not the 'real' size, e.g. the frame of a window that includes the window's functions like the close-button is missing. Is there a way to get the external window size ? __________________________________________________________ _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Free forum by Nabble | Edit this page |