moving stack
Shari
shari at gypsyware.com
Sun Dec 12 21:42:02 EST 2004
>Would you happen to have a menubar in that stack? May be that is the
>cause of the shift. I can imagine that the loc returns the loc of
>the visible portion of the stack whereas you set it upon reopening
>before the window was reduced to hide the menubar group.
>
>Robert Brenstein
There is a menubar, yes.
I turn the stack into a standalone on OSX, with the menubar hidden,
and the standalone has the same upward shift problem. There is an
option to save the location of the standalone. User puts window
where he wants it, clicks the SAVE button, and it gets the loc of the
standalone and stores it.
In the preopen stack handler, it gets the stored loc and sets the loc
of the stack to it.
Upward shifted by approximately a titlebar's height.
At what place in the opening sequence is the window reduced to hide
the menubar? Or would it be better to get the loc and adjust it to
account for the menubar before storing it?
Shari
--
Mac and Windows shareware games
http://www.gypsyware.com
More information about the metacard
mailing list