Link to home
Start Free TrialLog in
Avatar of rkpalli
rkpalli

asked on

How to hide a cursor

I am writing a MFC Dialog GUI applicaiton where I need to
hide the cursor for making applicaiton available
for touch screen purposes. How to do this ??

Please let me know.



Avatar of AlexNek
AlexNek

2 rkpalli
Did you try
/*CWnd::*/ HideCaret();
for each control?
I already developed application for touch screen and I do nothing.
Why ShowCursor(FALSE) doesn;t work for u?
Insert a cursor through resource editor. Delete the contents of the cursor. Set this cursor using LoadCursor function. If it is not working, override the OnSetCursor and return true always.

GOOD LUCK
set the cursor as a empty cursor
i don't think hide cursor is good for touch screen system.
ASKER CERTIFIED SOLUTION
Avatar of Computer101
Computer101
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial