Path: 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: Sender: news@cs.washington.edu Reply-To: slh@wolf.cs.washington.edu (Scott Heyano) Organization: Computer Science & Engineering, U. of Washington, Seattle Lines: 11 In article 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.