Hi, Chris,
Maybe there is no class to query window caption height and window
border width in Vision2 for the moment. :P
But you can easily calculate yourself by following codes:
window_caption_height (a_window: !EV_WINDOW): INTEGER is
-- Calculate window caption height
do
Result := a_window.height - a_window.client_height -
window_border_width (a_window)
end
window_border_width (a_window: !EV_WINDOW): INTEGER is
-- Calculate window border width
do
Result := (a_window.width - a_window.client_width) // 2
end
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/eiffel_software/<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/eiffel_software/join (Yahoo! ID required)
<*> To change settings via email:
mailto:
eiffel_software-digest@...
mailto:
eiffel_software-fullfeatured@...
<*> To unsubscribe from this group, send an email to:
eiffel_software-unsubscribe@...
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/