changing the mouse cursor when moved
C / C++ / MFC
3
Posts
3
Posters
0
Views
1
Watching
-
I want to change the cursor of my mouse when ever i point it on a button or on a static text. Please let me know can that be done??? Thanks in Advance
subclass the button or the static window and use SetCursor to change the shape of the cursor when the mouse is over the control see WM_MOUSEMOVE message for the same.
You need to google first, if you have "It's urgent please" mentioned in your question. ;-)_AnShUmAn_
-
I want to change the cursor of my mouse when ever i point it on a button or on a static text. Please let me know can that be done??? Thanks in Advance
Rather than handling
WM_MOUSEMOVE
, as suggested by_AnsHUMAN_
's answer, you probably want to handleWM_SETCURSOR
[^]Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p