home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.ms.programmer
- Path: sparky!uunet!cs.utexas.edu!sun-barr!ames!agate!linus!linus.mitre.org!tacsi001.mitre.org!skip
- From: skip@mitre.org (Skip Guild)
- Subject: Re: help: load an icon
- Message-ID: <skip.115.711978999@mitre.org>
- Sender: news@linus.mitre.org (News Service)
- Nntp-Posting-Host: tacsi001.mitre.org
- Organization: The MITRE Corp
- References: <199222.1228.6323@channel1>
- Distribution: comp
- Date: Fri, 24 Jul 1992 11:56:39 GMT
- Lines: 16
-
- In article <199222.1228.6323@channel1> herb.chong@channel1.com (herb chong) writes:
-
- >CM> I posted a similar question last week but have not
- >CM> seen an answer yet.
-
- >there is definitely a new Win 3.1 function to retrieve icons out of an
- >arbitrary EXE file. i can't remember what it is and a quick perusal of the
- >Tech Reference manuals doesn't remind me of what it is called. it lets you
- >select icons by their order of occurence and to return a count of how many
- >are in the EXE file, i think.
-
- It's Windows 3.1 function -
-
- HICON ExtractIcon(hinst: THandle; ExeFileName: PChar; IconIndex: Word):
- HIcon;
-
-