Monday, 9 September 2013

Changing Cursor Dynamically according to the control

Changing Cursor Dynamically according to the control

I am creating a custom control. On that control I have around 20 sub
controls. When i move the cursor on my User Control, i want the cursor to
be changed according to sub control it is moving on.
Eg:
User Control
--Control 1 : Mouse - Wait
--Control 2 : Mouse - Hand
--Control 3 : Mouse - Default
......so on.
Is there any way to determine on MouseMove Event of User Control that i am
moving on which sub control so that i can change my cursor in a single
event.

No comments:

Post a Comment