Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker.mit.edu!bloom-picayune.mit.edu!athena.mit.edu!mmshah From: mmshah@athena.mit.edu (Milan M Shah) Newsgroups: comp.windows.ms Subject: Re: Icons in Windows Message-ID: <1991Feb21.205121.14431@athena.mit.edu> Date: 21 Feb 91 20:51:21 GMT References: <1991Feb14.054138.5327@isc.rit.edu> <6{`&3||@rpi.edu> Sender: news@athena.mit.edu (News system) Distribution: na Organization: Massachusetts Institute of Technology Lines: 26 >>How do you make the icons stay? When you use a program like >>ICONLIB.EXE, >>the icons will only stay around in the Program Manager. When you load >>the >>program up, the icon will switch back to the good old DOS one. > > >properties screen. i should change this permanently. yes, sometimes >i notice when minimized it will go back to the good ol' DOS icon >which is a buumer, but thats only sometimes. Wrong! It will *always* go back to the DOS icon. (or to one fixed icon) Proof: all DOS old apps that run in a window run in a window class called tty. Icons are associated with window classes (as opposed to window instances). When you minimize any window istance, the icon is pulled from its class. So, one could try and change the icon of *all* DOS old apps by perhaps modifying the file VDDxGA.DRV (virtual device driver.drv, the dll that handles old apps). In general, however, it is not possible to modify the DOS icon displayed when a DOS app is minimized. So there. Milan .