Window Shape/Style
Jeanne A. E. DeVoto
jeanne at runrev.com
Sat Jan 12 16:39:08 EST 2002
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!
More information about the metacard
mailing list