From: | Elena |
Date: | 15 Sep 2001 at 19:11:50 |
Subject: | [amiga-c] Re: struct Window & WA_Zoom |
Hello rudolph-riedel@t-online.de
On 15-Sep-01, You wrote:
> Hi!
>
> Where does intuition store the alternative window size
> and position used for "zooming" the windows?
> I like to clone and save my aplications' windows even
> after they have been moved around.
> So I need some values to feed the WA_Zoom structure with.
Unfortunately, the fields you're looking for are maintained by Intuition
somewhere over the public part of Window structure.
You could dirty your hands and try to track them (they should be 4
contiguous WORDS containing the alternative Left,Top,Width,Height values)
but that's a hack: everything over the public window struct may change
in future OS releases and we should not care about it.
Otherwise, you may plan to use WindowClass: so you may do GetAttr() on
WA_Zoom (see autodocs/window_cl.doc) ;-)
Another (tricky and perhaps not visual attractive) way is storing your
Window values, then ZoomWindow(), get and store again these new values as
"alternative" and close it...
Regards,
Elena
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Secure your servers with 128-bit SSL encryption! Grab your copy of VeriSign's FREE Guide, "Securing Your Web
site for Business" and learn all about serious security. Get it Now!
http://us.click.yahoo.com/r0k.gC/oT7CAA/yigFAA/dpFolB/TM
---------------------------------------------------------------------~->
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/