MSFN Forum: DOS Prompt/shortcut icon bug - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

DOS Prompt/shortcut icon bug Rate Topic: -----

#1 User is offline   miko 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 302
  • Joined: 23-January 05

Posted 04 December 2005 - 10:17 AM

ok, i seem to post obscure questions no one ever answers but here goes (again)

when you assign an icon to a DOS prompt (or a DOS shortcut) instead of using the 16x16 version version of the icon in the top left of the resulting window Win98SE always uses the 32x32 version squashed down to 16x16.

does anyone know why this is (and possibly how to fix it) ?

This post has been edited by miko: 04 December 2005 - 11:27 AM



#2 User is offline   Crash&Burn 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 364
  • Joined: 11-March 05
  • OS:2000
  • Country: Country Flag

Posted 04 December 2005 - 01:18 PM

If you opoen up the file containing the referenced icon w/ something like IconShop. And using the pulldown display all icon sizes. Is there actually a 16x16 icon contained in the same set as the 32x32 one?

#3 User is offline   miko 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 302
  • Joined: 23-January 05

Posted 04 December 2005 - 05:18 PM

yeah, i made the test icons myself (although the same thing occurs if i use any 'standard' ico from a system file),

i've even tried different apps that'll save the image order inside an .ico file in a different order like

16x16x8bit, 32x32x8bit, 16x16x4bit, 32x32x4bit
as opposed to say
16x16x4bit, 16x16x8bit, 32x32x4bit, 32x32x8bit
(as an example)

in case it was referenced by resource number internally by windows
(btw this is what the minus numbers are in some icon entrys in the registry)

the 16x16x8bit icon will only be displayed in the corner of a DOS box when theres no 32x32 image in the .ico file, otherwise (even if the colour depth goes against windows settings, i.e. it's only a 32x32x4bit icon and your icons are set up for 8 ,16 or 24 bit colour) a squashed version of the existing 32x32 image is presented.

This post has been edited by miko: 04 December 2005 - 05:21 PM


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy