[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Resizing and moving a window?



Brian Matthews writes: Sat, 4 Jul 1998 13:09:24 -0700 (PDT)

>|This routine toggles between the 'userState' and the 'stdState':
>|        if(${$ptr->contRgn->rgnBBox} eq ${$ptr->stdState}) {
>|            ZoomWindow($ptr, 7, 1)
>|        }
>|        else {
>|            ZoomWindow($ptr, 8, 1)
>|        }
>|So far as I see this is not documented anywhere and I would value opinions
>|as to whether or not it is a sound scheme.
>
>This method is documented in Inside Macintosh: Macintosh Toolbox Essentials
>in Chapter 4, the Window Manager chapter. Listing 4-5 shows some code that
>determines the state the window's in and the paragraph after it talks about
>what it's doing. So, this is a sound scheme and is in fact the Apple
>recommended way of doing it.

Oops. Sorry. Missed it. Thanks for pointing it out.

Alan Fry



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch