Bitmap to Icon
-
Hi, I'd like to be giving constant feedback of the operation of my program to the user via the icon in the status area. This will require manipulating the actual pixels in the icon image. Is there any way to write to a bitmap and then load THAT as the icon, or.. what is the best way to go about doing this? Thanks, - Jason (SonorkID 100.611) The Code Project - Orange makes the art grow fonder
-
Hi, I'd like to be giving constant feedback of the operation of my program to the user via the icon in the status area. This will require manipulating the actual pixels in the icon image. Is there any way to write to a bitmap and then load THAT as the icon, or.. what is the best way to go about doing this? Thanks, - Jason (SonorkID 100.611) The Code Project - Orange makes the art grow fonder
You can use the CreateIcon function in the API to dynamically create icons and then put the handle into notifyicondata... But if the 'feedback' is not going to be relatively frequent, I'd recommend using balloon tips over the systray icon instead. They're much nicer imho.