Answered by:
Win7: Taskbar thumbnail image background transparency

Question
-
Hello
I've been playing around with Windows 7 taskbar thumbnail previews. I've noticed that some Microsoft applications are able to set thumbnail images which have transparency in background. I've been trying all out and not been able to achieve this.
I've set a picturebox control having PNG with transparency as thumbnail preview, doesnt work. I tried creating a new bitmap and loading from Icon file having transparency and setting it as preview but still doesn't work. It keeps showing the background color of the form window.
This is what Microsoft apps are able to acheive:
http://i.msdn.microsoft.com/dynimg/IC294975.png
http://www.howtogeek.com/wp-content/uploads/2010/07/image386.png
And here is what I've managed to get at most:
https://picasaweb.google.com/lh/photo/a5NfRFuJYd2dfX1LaqKjFtMTjNZETYmyPJy0liipFm0?feat=directlink
How to accomplish the transparency in the thumbnail preview?
-Faraz
- Edited by Faraz Azhar Wednesday, March 7, 2012 7:46 AM
Wednesday, March 7, 2012 7:45 AM
Answers
-
This is the work of the "new" Windows 7 API. Take a look here for some good starter reference: http://www.developerfusion.com/article/70567/tapping-into-the-power-of-the-windows-7-taskbar/
What you want is the ThumbnailPreview's I believe
Cheers :)
~AceIf a post helps you in any way or solves your particular issue, please remember to use the Propose As Answer option or Vote As Helpful
~ "The universe is an intelligence test." - Timothy Leary ~- Proposed as answer by Cor Ligthert Wednesday, March 14, 2012 8:13 AM
- Marked as answer by Youen Zen Thursday, March 15, 2012 3:37 AM
Friday, March 9, 2012 4:29 AM
All replies
-
Have you tried Photoshop?
http://forums.hscripts.com/viewtopic.php?f=26&t=3034
Thursday, March 8, 2012 8:22 PM -
Hi Faraz,
Welcome to the MSDN forum.
To make a region transparent when drawing thumbnail image, you need to create a bitmap which alpha channel. I’d suggest you check this reference link: http://stackoverflow.com/questions/5132760/how-can-i-make-a-region-on-my-taskbar-thumbnail-appear-transparent-in-windows-7
Moreover, the following links about Win 7 taskbar may be also helpful: http://msdn.microsoft.com/en-us/windows7trainingcourse_win7taskbarmanaged_topic2#_Toc236828995
If I misunderstood anything, please feel free and feedback.
Best regards,
Shanks Zen
MSDN Community Support | Feedback to us
Friday, March 9, 2012 4:14 AM -
This is the work of the "new" Windows 7 API. Take a look here for some good starter reference: http://www.developerfusion.com/article/70567/tapping-into-the-power-of-the-windows-7-taskbar/
What you want is the ThumbnailPreview's I believe
Cheers :)
~AceIf a post helps you in any way or solves your particular issue, please remember to use the Propose As Answer option or Vote As Helpful
~ "The universe is an intelligence test." - Timothy Leary ~- Proposed as answer by Cor Ligthert Wednesday, March 14, 2012 8:13 AM
- Marked as answer by Youen Zen Thursday, March 15, 2012 3:37 AM
Friday, March 9, 2012 4:29 AM -
Thanks I'll look into it.Wednesday, March 14, 2012 6:32 AM
-
Wondering if someone has got this working?
The Stackoverflow question is from myself and the answers there don't work.
Thursday, October 31, 2013 9:15 PM