Window Shape/Style

Simon Lord slord at mac.com
Mon Jan 14 18:40:02 EST 2002


Has anyone tried "set the decorations of stack "My Stack" to 16" 
to get rounded corners on their stack?  Does it really work?  
I'm at my wits end, I manually entered close to a thousand 
numbers and none came close to rounded corners.  In fact most 
simply made my stack disappear.

MAC OS X only.




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
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 1880 bytes
Desc: not available
Url : http://lists.runrev.com/pipermail/metacard/attachments/20020114/43fe362c/attachment.bin


More information about the metacard mailing list