Shell Context Menu icons
I have implemented shell context menu icons when you right click a file. I am using transparent icons but when it appears on the window they have blue background.
Eventhough my icons are already transparent I still coded it to explicitly make the background transparent using this line of code.
Color backColor = btMap.GetPixel(1, 2);
btMap.MakeTransparent(backColor);
IntPtr intp = btMap.GetHbitmap();
and I am setting the icons using a COM Interop
Helpers.SetMenuItemBitmaps(hMenu, (uint)iMenu, (int)hMenu, intp, intp);
Still the icons have blue background.What could be the problem here?
"Dont you ever give up!"
__________________
\"Dont you ever give up!\"
|