Solved

How to hide a cursor

Posted on 2002-05-27
8
981 Views
Last Modified: 2013-11-20
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.



0
Comment
Question by:rkpalli
8 Comments
 
LVL 16

Expert Comment

by:AlexNek
ID: 7037850
2 rkpalli
Did you try
/*CWnd::*/ HideCaret();
for each control?
I already developed application for touch screen and I do nothing.
0
 
LVL 4

Expert Comment

by:mblat
ID: 7038327
Why ShowCursor(FALSE) doesn;t work for u?
0
 
LVL 23

Expert Comment

by:Roshan Davis
ID: 7038385
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
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
LVL 2

Expert Comment

by:wyy_cq
ID: 7038418
set the cursor as a empty cursor
0
 
LVL 2

Expert Comment

by:wyy_cq
ID: 7038420
i don't think hide cursor is good for touch screen system.
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 12251790
PAQed - no points refunded (of 50)

Computer101
E-E Admin
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
function returning CString in a regular win32 DLL 8 178
Looking for a specific application/software 2 110
ShiftLeft challenge 21 82
Annoying "thing" blocks my view 4 100
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question