MousePointer

Started by Rolf Brandt, February 09, 2011, 01:08:24 PM

Previous topic - Next topic

Rolf Brandt

How do I change the MousePointer icon when I am over a certain control?

I would like to show a different MousePointer when I am over a label.
Rolf Brandt
http://www.rbsoft.eu
http://www.taxifreeware.com
I cook with wine, sometimes I even add it to the food.
(W. C. Fields)

Wilko Verweij

Dear Rolf,
You can use e.g. the MOUSEMOVE event to detect the cursor is over the label. Then use the MousePtr statement to change the shape of the cursor.
Succes,
Wilko

Rolf Brandt

Thanks Wilko,

I'll give that a try.
Rolf Brandt
http://www.rbsoft.eu
http://www.taxifreeware.com
I cook with wine, sometimes I even add it to the food.
(W. C. Fields)

Roger Garstang

Change it in WM_SETCURSOR.

Rolf Brandt

Rolf Brandt
http://www.rbsoft.eu
http://www.taxifreeware.com
I cook with wine, sometimes I even add it to the food.
(W. C. Fields)