[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Finder *is* a resource file, right?
- To: firstname.lastname@example.org
- Subject: Finder *is* a resource file, right?
- From: email@example.com
- Date: Tue, 13 Oct 92 13:15:26 CDT
OK, so I'm coding a hierarchy editor that looks like Finder's twist-down
thang with the triangles.
So, I want to get those triangles from Finder.
Alas, attemting to _OpenResFile on Finder returns -1. A subsequent call to
_ResError returns 0, which is particularly unhelpful.
Now I *could* copy them into a Resource File that has to be carted along
with my code, but I'd much rather just get them from Finder.
'Course, since Finder *has* to already be open, I'd be happy if someone
could point me to either the handles for resources:
ics#, ics4, and ics8; 3060 and 3061,
or a handle that contains an IconSuite containing said icons.
BTW, this code *will* be uploaded RSN. It is *much* improved over my
PS: What's the best way to get a doc-string attached to a trap and trap
"TANSTAAFL" Rich firstname.lastname@example.org