[comp.windows.ms] Dos Icon to Prettier Icon

keating@rex.cs.tulane.edu (John W. Keating) (03/23/91)

poffen@sj.ate.slb.com (Russ Poffenberger) writes:

>This is why a DOS application can only get that ugly DOS icon. There is no way
>to bind an icon to the DOS application like the resource compiler (comes with
>SDK) can to a TRUE windows application. Windows supplies the DOS icon
>internally and you can't change it.

Okay, next question is, then...  Is there any way to change the DOS Icon
to another, user defined, icon in Windows itself?  (Just a thought...  I
make no gaurantee of it ever working!)

John Keating
-- 
 +---------------------------------------+ +---------------------------+
 | Looking for genealogical histories of | | keating@rex.cs.tulane.edu |
 | Keating, Migan, Pope, Hobbes, Hobbs.  | | John William Keating, III | 
++---------------------------------------+----+  +-----------------------+
| "My heart is stone and still it trembles    |--| "If you were right,   |
|  The world I have known is lost in shadow." |  |  I'd agree with you!" | 
+---------------------------------------------+  +-----------------------+

esl1_ltd@uhura.cc.rochester.edu (Eric S. Lambert) (03/23/91)

This message is empty.

monahan@gemini.cs.nps.navy.mil (James Monahan) (03/23/91)

I guess that this question is one of THE most asked questions with lots
of confusion and a genuine breakdown in communication.
Normal DOS programs do not have an embedded icon as do Win apps.
You can change the icon in the Program Manager; this is usually answer #1.
This applies to ANY app as it is ONLY displayed in the PM.
Some Win apps can have their embedded icon modified; there are at least 2
shareware programs that can do this provided that the icon is a 16 color icon.
(Don't know why these 2 programs can't find the monochrome icons.)
THEREFORE, these Win apps will have your choice of icon in PM and when
minimized.
As stated before, normal DOS programs do not have an icon inside but Windows
uses 1 of 2 files (depending on your Win mode: WINOA286.MOD or WINOA386.MOD)
to show the ugly grey DOS icon.  The 2 afore mentioned shareware programs can
find this icon and swap in a new one; I personally use a sea shell for my
DOS icon.  This means that any DOS program will display a sea shell when I
minimize it.
Off my soap box.
Regards,    Greg Monahan

rhoward@msd.gatech.edu (Robert L. Howard) (03/24/91)

monahan@gemini.cs.nps.navy.mil (James Monahan) writes:

>Normal DOS programs do not have an embedded icon as do Win apps.

>You can change the icon in the Program Manager; this is usually answer #1.
:
>As stated before, normal DOS programs do not have an icon inside but Windows
>uses 1 of 2 files (depending on your Win mode: WINOA286.MOD or WINOA386.MOD)
>to show the ugly grey DOS icon.  The 2 afore mentioned shareware programs can
>find this icon and swap in a new one.....

Obviously this is a limitation in Windows itself with only some broad
hacks available to change that generic icon.  So the real solution is
a change in Windows.

How about this?  Why not have an "Icon" entry in the PIF for a DOS (or
any) program where you decide to run it with a PIF.  Is there any way
we can suggest this to Microsoft? Is anyone out there listening?  I'd
settle for it as a 3.1 feature...

Robert

--
| Robert L. Howard             |    Georgia Tech Research Institute     |
| rhoward@msd.gatech.edu       |    MATD Laboratory                     |
| (404) 528-7165               |    Atlanta, Georgia  30332             |
-------------------------------------------------------------------------
|     "Reality is showing us that perhaps we should do with nuclear     |
|      power the same thing Keloggs is advocating for Corn Flakes -     |
|      Discover it again for the first time." -- John De Armond         |

betsey@cunixf.cc.columbia.edu (Elizabeth Fike) (03/24/91)

In article <1978@gemini.cs.nps.navy.mil> monahan@cs.nps.navy.mil (James Monahan) writes:
>Some Win apps can have their embedded icon modified; there are at least 2
>shareware programs that can do this provided that the icon is a 16 color icon.

So what are they and where can they be found?  Enlighten us! :)

betsey
	Follow men's eyes as they look to the skies
	The shifting shafts of shining weave the fabric of their dreams...