Docklet Development Question

Hi All,

I am a fairly novice programmer and have been developing a docklet. So far it is progressing well but I want to initiate an action when the mouse hovers over an icon. At the moment I can only get response to clicks, double clicks and mouse button holds (as per the SDK). Can anyone advice how this can be done.

In the future I would like to display icons off the dock (like the new weather docklet) so if any can give advice for this it would be much appreciated!

I suppose what I realy want is some good tutorials/examples of docklet development...

Thanks
1,327 views 1 replies
Reply #1 Top
In the CALLBACK function OnProcessMessage use PtInRect(&rcDocklet, ptCursor) where rcDocklet is the RECT of the docklet and ptCursor is where the mouse pointer is.

From this you can determain if the mouse is over your docklet or not.

How you implement this is your call. This is only one way of many.

Qix