home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / windows / ms / programm / 7343 < prev    next >
Encoding:
Text File  |  1992-07-24  |  1.1 KB  |  30 lines

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