Resize stack
Shari
shari at gypsyware.com
Thu Jun 10 20:27:31 EDT 2004
>Shari, do you have a menubar on that stack? If so, MC will automatically
>send a resizeStack message when a stack with a menubar opens as it hides the
>menu group. Personally, I think this is a bug, and have logged it into
>Bugzilla as such, but just something for you to be aware of. What I've done
>is set a global to a value just before I open the stack, and then in the
>resizeStack handler check the global - if it's set, it means its just
>opening, and the resizeStack sets the global to empty and bails out of
>resizeStack. The next time the user actually resizes the stack, the global
>is empty, so it resizes properly and allows me to store their window size.
>
>
>HTH,
>
>Ken Ray
Yup, has a menubar. Though I took the resizeStack handler out of the
menugroup and put it into the stack handler, and edited it.
Thanks for the head up. I will save this one for my Metacard info pile :-)
Shari
--
Mac and Windows shareware games
http://www.gypsyware.com
More information about the metacard
mailing list