Results 1 to 4 of 4

Thread: Icon sizes???

  1. #1
    Neal's Avatar
    Neal is offline VB.NET Forum Admin
    .NET Framework
    .NET 4.5
    Join Date
    Jul 2004
    Location
    Richmond, VA
    Posts
    1,250
    Reputation
    238

    Icon sizes???

    For a Winforms application, when we add the icon for the main app, what is the icon size supposed to be? 48x? 32x?

    For a Windows Form, also, what is the form icon's size supposed to be? 16x? 24x?

    I realize it may auto-scale as required, but what is it supposed to be by the book?
    Neal
    VB.NET Forums Admin

  2. #2
    JohnH's Avatar
    JohnH is offline VB.NET Forum Moderator
    .NET Framework
    .NET 4.0
    Join Date
    Dec 2005
    Location
    Norway
    Posts
    14,562
    Reputation
    2737
    It currently looks very 16x to me. Haven't found it in the 'book'.

  3. #3
    LeonR is offline VB.NET Forum Fanatic
    .NET Framework
    .NET 4.0
    Join Date
    Nov 2006
    Location
    UK
    Posts
    139
    Reputation
    101
    I would agree with JohnH, I just screen grabbed firefox, and drew a box round the icon in paintbrush, its 16x16 i think.

  4. #4
    jmcilhinney's Avatar
    jmcilhinney is offline VB.NET Forum Moderator
    .NET Framework
    .NET 4.0
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    12,943
    Reputation
    1625
    Icons on the title bars of forms are 16x16. When you set an icon for an application it should contain at least 16x16 and 32x32 formats, because those are the two formats it's most likely to be displayed in. That's because desktop shortcuts and large icons in Windows Explorer are 32x32 and Start Menu shortcuts and small icons in Windows Explorer are 16x16.

    The ICO file format supports multiple images in the one file. As I said, it's a good idea to include at least 16x16 and 32x32 in application icons. If you want to make sure your icon always looks as good as possible then you may also want to include 48x48, which is used much less often, and 96x96 and 128x128, which are used less often again. You may also want to include different colour depths so that Windows doesn't have to make best guesses if the system colour depth isn't what you developed on. Most people have video cards powerful enough to run high colour depths these days so it's not such a big issue anymore though.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Harvest time tracking