displaying the synchronize icon in the title bar

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I have written my own custom syncrhonize software which works very well.
What I would like to do is display the animated icon (as per Microsoft
ActiveSync) in the title bar when my synchronize is executing.

Anyone know how to achive this?

Regards
Simon.
 
For Pocket PC a titlebar icon can be created using the SHNotificationAdd and
related APIs. AFAIK the only way to simulate animation is to periodically
change the icon used (via SHNotificationUpdate). OpenNETCF SDF has a
Notification implementation to wrap these APIs but would require some
modification using the source code in order to support changing the icon.
The version standard in .NETCF v2.0 - Microsoft.WindowsCE.Forms.Notification
exposes an Icon property so you'd just need to change this from a loop
running in a background thread.

Peter
 
OK thanks.

Regards
Simon.

Peter Foot said:
For Pocket PC a titlebar icon can be created using the SHNotificationAdd and
related APIs. AFAIK the only way to simulate animation is to periodically
change the icon used (via SHNotificationUpdate). OpenNETCF SDF has a
Notification implementation to wrap these APIs but would require some
modification using the source code in order to support changing the icon.
The version standard in .NETCF v2.0 - Microsoft.WindowsCE.Forms.Notification
exposes an Icon property so you'd just need to change this from a loop
running in a background thread.

Peter
 
Back
Top