[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MS-DOS FST? => Resources
In article <1skggq$hbb@altitude.HIP.CAM.ORG>, vandry@CAM.ORG (Phillip Vandry) writes:
> I know. Believe me. I'm rewriting the Menu Manager. Just about every second
> call has to take into account the possibility that an icon or title or
> item name of whatever might be a resource. And then there's NewMenuBar2,
> NewMenu2, SetMItem2, etc..
I don't know what's the difficulty. Just check the Input descriptor,
and if it's a resource make a LoadResource call. Then you have the same
situation as if the input were a handle or a pointer. I do this all the
time with calls that don't directly support resources, like 'DrawIcon'.
--Urs
| BRIGHT SOFTWARE | * A P P L E I I F O R E V E R * |
| Urs Hochstrasser | Actually in Development: C H E M I X |
| Strassburgerallee 79 | Pseudo: CodeBurger (binary sauce) |
| 4055 BASEL, SWITZERLAND | InterNET: HOCHSTRASSE@URZ.UNIBAS.CH |