Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WinApp title bar icon

Tags:

c#

In my desktop application, i am using a 128x128 .ico file in runtime.

public frmMain()
{
    InitializeComponent();
    this.Icon = Properties.Resources.MyIcon;
}

It looks good in task bar, but hazy in title bar. I am using win8 (64bit). Is there any trick to overcome this problem?

!!! UPDATE !!! enter image description here

like image 925
s.k.paul Avatar asked Oct 21 '22 05:10

s.k.paul


1 Answers

Icons (.ico files) support multiple sizes/versions of a given image. Make sure you have all of the appropriate sizes embedded in your icon.

There are a handful of free icon editors out there, Visual Studio has a (pretty poor) icon editor build in. I've used IcoFX successfully in the past, which has a 30 day free demo. I'm there there are other free ones out there as well, including a plugin for Photoshop.

You can see the VS icon editor (with the multiple formats below): enter image description here

like image 103
Michael Cook Avatar answered Oct 23 '22 06:10

Michael Cook