Reputation: 5732
Is it possible to make an ownerdrawn tray icon using winapi ? ( c++ non-mfc.)
For now im using server generated png -> ico -> tray but this is ugly and slow ......
Upvotes: 0
Views: 411
Reputation: 1488
You could just dynamically create the HICON, no? Build up the image that you want (or convert from jpg/bmp/png) as a DIB and convert to an HICON. Use your created icon to send to Shell_NotifyIcon()
.
Old reference, but it should get you started. Icons in Win32.
Upvotes: 2