Re: Windowproc question
Re: Windowproc question
- Subject: Re: Windowproc question
- From: Caleb Strockbine <email@hidden>
- Date: Thu, 7 Mar 2002 17:35:19 -0500
On Thursday, March 7, 2002, at 02:13 PM, David Groover wrote:
Is there a chance that anyone on this list has any knowledge of, or an
example or a windowproc file? Window proc files are in the Mac toolbox
(not sure exactly where but that's the idea) Using windowproc 2 gives me
a window with one small thin line as a border. windowproc 3 gives the
same with an added drop shadow.
They're not files, but resources containing code which defines a window.
The resource type is 'WDEF'. You'll find a few of these in the System
file,
and also in any applications which use custom windows. There are similar
resources for menu definitions, control definitions, etc. That's not to
say that
you couldn't put a WDEF resource in a file by itself and call it a
'windowproc
file', but that's not normally how they're used.
I understand that with some knowledge of
C++ you can make your own windows. I am not going near C++. But I would
like to get a window with similar small lines with either no line on
top,
or white for a color so it can appear that way.
My AppleScript knowledge is intermediate-level at best, but a window
definition function is surely not something you'd want to attempt in
AppleScript. If you want a custom window, you'll have to either find one
that has already been written, or find someone who can write one for
you.
Caleb Strockbine
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.