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 ……
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.