Newsgroups: comp.windows.ms
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!bronze!copper!rschmidt
From: rschmidt@copper.ucs.indiana.edu (roy schmidt)
Subject: Re: Adding an icon
Message-ID: <1991May29.144926.26431@bronze.ucs.indiana.edu>
Summary: We're getting close 
Sender: news@bronze.ucs.indiana.edu (USENET News System)
Organization: Indiana University, Bloomington
References: <1991May22.123750.1@zeus> <4189@polari.UUCP>
Date: Wed, 29 May 91 14:49:26 GMT
Lines: 35

In article <4189@polari.UUCP> kentfo@polari.UUCP (Kent Forschmiedt) writes:
>In article <1991May22.123750.1@zeus> cbishop@zeus writes:
>>
>>I installed Procomm Plus on my PC (386SX-16) and added the application
>>to Windows.  I decided to replace the telephone type icon with an
>>icon that I had from an icon library.  Using the Program Manager, I was 
>>able to add the icon to the Group Window and it turn out right.  However, 
>>if the application is running and I Minimize it to sit on the desk top, 
>>the icon appears as a DOS icon.
>>
>
>The icon which appears in the Program Manager is essentially unrelated
>to the one displayed when an application's window is minimized.  The
>Program Manager stores an icon in its .GRP file; by default this is
>the first one it finds in the .exe file, but you can easily change it,
>as you did.  The one displayed when the application is running is
>explicitly loaded from the .exe when the program runs.  To change this,
>you must use a resource editor program.  I don't have one, except for
>some experimental stuff I have written; I think hDC sells one.

Almost correct, Kent!  The clincher is that Procomm Plus is a DOS app,
not a windows app.  What you have said is only true for windows apps.
With a DOS app, you are allowed to change the icon that PM displays in
the group window.  (BTW, PC+ 2.0 has a nice icon included in the package
that you can use.)  But when you minimize a DOS app, there isn't any
icon resource in the .exe file!  ProgMan then takes the old clunky
default icon and sticks on your wallpaper.  This fact is stated in the
Friendly Manual, but I am too befuddled to find the page # right now.
:-).

--
--------------------------------------------------------------------------
Roy Schmidt                 |  #include <disclaimer.h>     
Indiana University          |  /* They are _my_ thoughts, and you can't
Graduate School of Business |     have them, so there!  */
