Click to See Complete Forum and Search --> : Removing the keyboard cursor in the richtext box
MKCHEE
March 28th, 2003, 01:49 AM
Hi
It's easy to remove the mouse cursor. But does anyone know how do you remove the keyboard cursor in the richtextbox?
MK
Prabakaran
March 28th, 2003, 02:15 AM
you can use HideCaret() function of CRichEditCtrl class to hide the caret in the rich edit control
MKCHEE
March 28th, 2003, 02:25 AM
Any C# functions instead of C++?
WillemM
March 30th, 2003, 04:49 AM
Set the richtextbox to read-only.
pareshgh
April 1st, 2003, 02:51 PM
by setting readonly won't help.
AFAIK, there isn't a direct method for hiding the cursor in the richedit text box.
you can use the API for hidecaret with use of C++ dlls.
-Paresh
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.