How do I get the external window size (not its displayBox)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

How do I get the external window size (not its displayBox)

BREITH Karl-Albert (AREVA)
How do I get the external window size (not its displayBox)

When I use displayBox of a window, I am getting its 'internal' display box, not the 'real' size,
which is the outer border size including all borders dependent on the window system.

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 ?

__________________________________________________________
Karl Breith
AREVA NP GmbH
FDN-G


Postfach 1109
91001 Erlangen

Phone:   +49 (0) 9131 900 95544
Fax:     +49 (0) 9131 900 94081        
mail to:  [hidden email]  


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: How do I get the external window size (not its displayBox)

Steven Kelly
How do I get the external window size (not its displayBox)

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)
Sent: 3. elokuuta 2011 16:02
To: [hidden email]
Subject: [vwnc] How do I get the external window size (not its displayBox)

 

 

When I use displayBox of a window, I am getting its 'internal' display box, not the 'real' size,
which is the outer border size including all borders dependent on the window system.

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 ?

__________________________________________________________
Karl Breith
AREVA NP GmbH
FDN-G

Postfach 1109
91001 Erlangen

Phone:   +49 (0) 9131 900 95544
Fax:     +49 (0) 9131 900 94081        
mail to:  [hidden email]  


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: How do I get the external window size (not itsdisplayBox)

Steven Kelly
How do I get the external window size (not its displayBox)

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]]
Sent: 3. elokuuta 2011 16:39
To: Steven Kelly
Subject: AW: [vwnc] How do I get the external window size (not itsdisplayBox)

 

 

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

 

__________________________________________________________
Karl Breith
AREVA NP GmbH
FDN-G

Postfach 1109
91001 Erlangen

Phone:   +49 (0) 9131 900 95544
Fax:     +49 (0) 9131 900 94081        
mail to:  [hidden email]  
Vorsitzender des Aufsichtsrats: Olivier Wantz - Geschäftsführer: Ulrich Gräber, Rüdiger Steuerlein
Sitz der Gesellschaft: Erlangen - Registergericht: Fürth,
HRB 7817 - www.areva-np.com - Umsatzsteuer-ID: DE 206407096 
Supervisory Board Chairman: Olivier Wantz - Managing Directors: Ulrich Gräber, Rüdiger Steuerlein
Company Seat: Erlangen - Commercial Registries Fürth, HRB 7817 -
www.areva-np.com - VAT ID code: DE 206407096
Wichtiger Hinweis: Diese E-Mail kann Betriebs- oder Geschäftsgeheimnisse bzw. sonstige vertrauliche Informationen enthalten. Sollten Sie diese E-Mail irrtümlich erhalten haben, ist Ihnen eine Kenntnisnahme des Inhalts, eine Vervielfältigung oder Weitergabe der E-Mail ausdrücklich untersagt. Bitte benachrichtigen Sie uns und vernichten Sie die empfangene E-Mail. Vielen Dank.

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
Gesendet: Mittwoch, 3. August 2011 15:33
An: [hidden email]
Betreff: Re: [vwnc] How do I get the external window size (not itsdisplayBox)

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)
Sent: 3. elokuuta 2011 16:02
To: [hidden email]
Subject: [vwnc] How do I get the external window size (not its displayBox)

 

 

When I use displayBox of a window, I am getting its 'internal' display box, not the 'real' size,
which is the outer border size including all borders dependent on the window system.

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 ?

__________________________________________________________
Karl Breith
AREVA NP GmbH
FDN-G

Postfach 1109
91001 Erlangen

Phone:   +49 (0) 9131 900 95544
Fax:     +49 (0) 9131 900 94081        
mail to:  [hidden email]  


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: How do I get the external window size (not itsdisplayBox)

Dave Stevenson-3
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.

Dave Stevenson
[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)

How do I get the external window size (not its displayBox)

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]]
Sent: 3. elokuuta 2011 16:39
To: Steven Kelly
Subject: AW: [vwnc] How do I get the external window size (not itsdisplayBox)

 

 

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

 

__________________________________________________________
Karl Breith
AREVA NP GmbH
FDN-G

Postfach 1109
91001 Erlangen

Phone:   +49 (0) 9131 900 95544
Fax:     +49 (0) 9131 900 94081        
mail to:  [hidden email]  
Vorsitzender des Aufsichtsrats: Olivier Wantz - Geschäftsführer: Ulrich Gräber, Rüdiger Steuerlein
Sitz der Gesellschaft: Erlangen - Registergericht: Fürth,
HRB 7817 - www.areva-np.com - Umsatzsteuer-ID: DE 206407096 
Supervisory Board Chairman: Olivier Wantz - Managing Directors: Ulrich Gräber, Rüdiger Steuerlein
Company Seat: Erlangen - Commercial Registries Fürth, HRB 7817 -
www.areva-np.com - VAT ID code: DE 206407096
Wichtiger Hinweis: Diese E-Mail kann Betriebs- oder Geschäftsgeheimnisse bzw. sonstige vertrauliche Informationen enthalten. Sollten Sie diese E-Mail irrtümlich erhalten haben, ist Ihnen eine Kenntnisnahme des Inhalts, eine Vervielfältigung oder Weitergabe der E-Mail ausdrücklich untersagt. Bitte benachrichtigen Sie uns und vernichten Sie die empfangene E-Mail. Vielen Dank.

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
Gesendet: Mittwoch, 3. August 2011 15:33
An: [hidden email]
Betreff: Re: [vwnc] How do I get the external window size (not itsdisplayBox)

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)
Sent: 3. elokuuta 2011 16:02
To: [hidden email]
Subject: [vwnc] How do I get the external window size (not its displayBox)

 

 

When I use displayBox of a window, I am getting its 'internal' display box, not the 'real' size,
which is the outer border size including all borders dependent on the window system.

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 ?

__________________________________________________________
Karl Breith
AREVA NP GmbH
FDN-G

Postfach 1109
91001 Erlangen

Phone:   +49 (0) 9131 900 95544
Fax:     +49 (0) 9131 900 94081        
mail to:  [hidden email]  


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc