home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!think.com!yale.edu!news.yale.edu!YaleVM.YCC.Yale.Edu!GREMICF
- From: GREMICF@YaleVM.YCC.Yale.Edu (M. David Greenspon)
- Subject: Machine Icons
- Message-ID: <168BAA257.GREMICF@YaleVM.YCC.Yale.Edu>
- Sender: news@news.yale.edu (USENET News System)
- Nntp-Posting-Host: yalevm.ycc.yale.edu
- Organization: Yale University
- Date: Fri, 11 Dec 92 11:32:39 EST
- Lines: 22
-
- When you choose "About This Macintosh" from the Apple Menu in the finder, you
- get, among other things, an icon that looks like your machine. These icons
- are stored as ICN#s in the System file. When I call Gestalt with a selector
- of gestaltMachineIcon on my PB160, I get 49031; sure enough, ICN# 49031
- (= -16505) in the System file looks like a PowerBook.
-
- Is there a list anywhere of Machine Icon numbers for _all_ Macs? I don't have
- access to every kind of Mac ever made to go around running my program on. In
- general, most of the icons do (sort of) look like the Macs I think they're
- supposed to represent, but in some cases I'm not sure exactly which is which.
- I'd like to be sure that I really am showing the "official" ones in all cases.
- The newest list of undocumented Gestalt stuff posted here doesn't say anything
- about this. I can't find a Tech Note about it. I'm doing this because I'd
- like to determine various things about the system I'm on: for example, if I
- get an icon that looks like a Quadra, I'll assume the presence of an FPU.
-
- Just kidding! ;-) :-] (I can just see the frantic letters pouring in from
- people who were too aghast to read further... ;~> ) I just want to display
- info about various Macs, and I thought it would be nice to display the icon.
- Thanks in advance for any info.
-
- --David
-