🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #52

Re: help: load an icon

#52
From: Skip Guild
Date: Fri, 24 Jul 1992 11:56
15 lines
1114 bytes
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;
Technical Details
Message-ID: <skip.115.711978999@mitre.org>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sun-barr!ames!agate!linus!linus.mitre.org!tacsi001.mitre.org!skip
References: <199222.1228.6323@channel1>

Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.ms.programmer
Path: arc1-ca.pugleaf.net!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