From: | |
Date: | 07 Feb 2001 at 18:01:28 |
Subject: | Re: Custom screens (was: Re: Can someone look at this code?) |
On Thu, 8 Feb 2001, Colin Wenzel wrote:
> On 08-Feb-01, Gunther Nikl wrote:
>
> > On Wed, Feb 07, 2001 at 11:47:10PM +1000, Colin Wenzel wrote:
> >> I think a nice example I would like to see, is opening up a public
> >> screen that has the same properties (clone) of the workbench screen,
> >> to inherit it's palette & dimensions...
>
> > Easy, just use "SA_LikeWorkbench" with V39+ :-)
> > Gunther
>
> OK, but what do put in the other fields:
>
> SA_Left,
> SA_Top,
> SA_Width,
> SA_Height,
> SA_DisplayID,
>
> If you don't know what size & type the WB
> screen is before hand...
>
Now I know it's been awhile since I've looked at this seriously, but isn't
the beauty of TAG lists that you only specify the ones you care about and
everyone else gets reasonable defaults? So, all you'd pass is
SA_LikeWorkbench, TRUE, TAG_END (or is it TAG_DONE? damn...)
Certainly, you can do an OpenWindowTagList without passing anything other
than TAG_END. :-) (I *do* remember playing with it when 2.0 first came
out...)
Please correct me if I'm wrong on this (like I said, it has been awhile)
Greg
------------------------ Yahoo! Groups Sponsor ---------------------~-~>
eGroups is now Yahoo! Groups
Click here for more details
http://click.egroups.com/1/11231/0/_/451227/_/981565648/
---------------------------------------------------------------------_->