🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Reading an ICON from an executable other than your own?

#1729
From: Scott Heyano
Date: Tue, 19 Mar 1991 14:56
11 lines
1209 bytes
In article <kilmer.669302956@sysp1> kilmer@hq.af.mil writes:
|I was wondering if anyone had figured out how to read in an ICON from 
|an .EXE file other than the one that you're executing.  Sort of like the
|way the program manager change's an ICON in one of its groups to be any 
|.EXE's ICON (so long as it has a resource attached to it). How is this done???
|
	I haven't done this, but no one else seems to be replying:
	try using LoadIcon with the handle returned from LoadLibrary.
	As for trying to get the application icon w/o a name,
	just for the hell of it try sending a null string or null.
	If any of this works let me know.
Technical Details
Message-ID: <15505@june.cs.washington.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!rice!uw-beaver!uw-june!wolf.cs.washington.edu!slh
References: <kilmer.669302956@sysp1>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!rice!uw-beaver!uw-june!wolf.cs.washington.edu!slh
From: slh@wolf.cs.washington.edu (Scott Heyano)
Newsgroups: comp.windows.ms.programmer
Subject: Re: Reading an ICON from an executable other than your own?
Message-ID: <15505@june.cs.washington.edu>
Date: 19 Mar 91 14:56:46 GMT
References: <kilmer.669302956@sysp1>
Sender: news@cs.washington.edu
Reply-To: slh@wolf.cs.washington.edu (Scott Heyano)
Organization: Computer Science & Engineering, U. of Washington, Seattle
Lines: 11