Window Shape/Style

Simon Lord slord at videotron.ca
Sun Jan 13 08:04:01 EST 2002


This is really cool.  I'm guessing that the OS 9 and OS X WDEF 
id's are different since 1993 in your sample is the only one 
that work's under OS X.

But thak you very much, I'll run through the numbers and see 
what I get.  16 simply makes my stack disappear!

:^)


On Thursday, January 10, 2002, at 04:01 PM, Jeanne A. E. DeVoto wrote:

> At 6:14 PM -0800 1/11/2002, Simon Lord wrote:
>> Not getting much of a responce so I'll rephrase the question.
>> Who here can tell me how I can create a stack that uses a custom
>> shape?
>>
>> I need some sort of external to change the shape right?  I'd
>> like to be a client of the person that can sell me the solution.
>
> All you need actually is a WDEF resource, not an external. A 
> WDEF resource
> is installed in the system file or in your app or stack - 
> somewhere in the
> resource path. You may need someone to write for you a custom WDEF, but
> there are several available in the system file, and more 
> floating around
> the web. (Someone made an apple-shaped WDEF a few years ago for 
> MacHack,
> for instance.)
>
> Once you've got a suitable WDEF, you can use the decorations 
> property to
> set a stack to use that WDEF. Try these (using WDEFs available in the
> system file):
>
>   set the decorations of stack "My Stack" to 2 -- plain box
>   set the decorations of stack "My Stack" to 16 -- window with 
> rounded corners
>   set the decorations of stack "My Stack" to 1993 -- palette 
> with title bar
> at left side
>
> (Of course, the above applies only to Macs.)
>
> --
> Jeanne A. E. DeVoto ~ jeanne at runrev.com
> http://www.runrev.com/
> Runtime Revolution Limited - Power to the Developer!
>
>
> _______________________________________________
> metacard mailing list
> metacard at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/metacard
>




More information about the metacard mailing list