• Post Reply Bookmark Topic Watch Topic
  • New Topic

Icon with transparent background is not transparent in Windows taskbar

 
Petr Omáčka
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have set the app icon with transparent background like this:



Furthermore I used that icon in menu item like this:



Icon in app window header and also aside the menu item has no background (uses the transparent one) but in Windows taskbar there is used a white squared one.

I have tried to find some solution but unsuccessfully.

Advice will by appreciated.

 
Stevens Miller
Bartender
Posts: 1422
29
C++ Java Netbeans IDE Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Petr, can you post a small, complete program that others can compile and run to see your problem? That really helps a lot when we try to assist you.
 
Petr Omáčka
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
During the runnable sample and icon preparation I have found that when I was saving the picture icon I have saved it as jpeg so the transparency information has been lost. I did not noticed this because the background of picture is the same as app background.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!