ID: Q91150
3.10 3.50 3.51 4.00 | 4.00
WINDOWS NT | WINDOWS
kbprg
The information in this article applies to:
- Microsoft Windows NT versions 3.1, 3.5, 3.51, 4.0
- Microsoft Windows 95 version 4.0
Under OS/2, when you add a console application named, for example CONAPP.EXE, to a program group, the system uses the file CONAPP.ICO (if it exists ) as the icon. This does not happen automatically under Windows NT and Windows 95; the item will have a generic icon.
To specify the icon that appears in the program group, use the following steps as an example:
1. Create a resource file containing an ICON statement:
ConApp ICON ConApp.ICO
2. Compile the resource using RC:
rc -r $(rcvars) -fo conapp.res conapp.rc
3. Add the .rc file to the link command line
If the application is started by clicking its icon in Program Manager, the icon that appears when the application is minimized will be that icon, whether it is a generic icon or an icon imbedded in the executable file.
If the application is started from the MS-DOS prompt or the File menu, then the icon that appears when the application is minimized will be the icon that is used for the MS-DOS prompt.
KBCategory: kbprg KBSubcategory: BseCon Additional reference words: 3.10 3.50 3.51 4.00
Keywords : kbConsole kbKernBase kbGrpKernBase
Version : 3.10 3.50 3.51 4.00 | 4.00
Platform : NT WINDOWS
Last Reviewed: May 21, 1997