Jump to content

DOS Prompt/shortcut icon bug


miko

Recommended Posts

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) ?

Edited by miko
Link to comment
Share on other sites


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.

Edited by miko
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...