I am trying to develop an alternative connection front-end to DUN which has to incorporate a few extra features. I am using a RAS ActiveX component to do most of the hard work, but one feature which I would like to have is the flashing lights on the taskbar just like with the usual DUN. I would like to do this either by:

1) Trapping some event or other to change the icon on the taskbar tray or,

2) Enabling the default modem lights on the taskbar.

I would rather do option 2 (less work for me), but is either possible? Or is there an even better way to do it?

Thanks in advance,

Dave Turner