473,915 Members | 5,813 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Hide cursor in RichTextBox

Hello,

I want to hide cursor in textRichBox. Default the cursor blink if you
click on richTextBox and I want to disable this feature.

I need to make something like Adobe Reader, so textRichBox as readonly
but the text can be selected, etc.

Any idea?

----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
Nov 16 '05 #1
6 10955
pinocchio wrote:

Hello,

I want to hide cursor in textRichBox. Default the cursor blink if you
click on richTextBox and I want to disable this feature.

I need to make something like Adobe Reader, so textRichBox as readonly
but the text can be selected, etc.

Any idea?

----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---


Are you talking about the cursor (mouse pointer) or carat (keyboard insertion
point)?

Why don't you just set the control to ReadOnly?
Nov 16 '05 #2
> Juliewrote:
pinocchio wrote:

Hello,

I want to hide cursor in textRichBox. Default the cursor blink if you click on richTextBox and I want to disable this feature.

I need to make something like Adobe Reader, so textRichBox as readonly but the text can be selected, etc.

Any idea?

----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==---- http://www.newsfeed.com The #1 Newsgroup Service in the World!
100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---

Are you talking about the cursor (mouse pointer) or carat (keyboard
insertion
point)?

Why don't you just set the control to ReadOnly?[/quote:778c05201 e]

Och, sorry my mistake, I mean carat.
If I set the control to ReadOnly, it doesn't solve my problem.

----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
Nov 16 '05 #3
no other idea?

pleas, help :wink:

----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
Nov 16 '05 #4
no other idea?

pleas, help :wink:

----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
Nov 16 '05 #5
pinocchio wrote:
no other idea?

pleas, help :wink:


I don't really think it's possible to hide the flashing caret in a rich
text box. I remember asking the same question some years ago, about
hiding the caret in a Win32 rich edit, to no avail.

Still, perhaps you could try searching Google Groups; e.g.:
http://groups.google.com/groups?&q=rich+hide+caret
Nov 16 '05 #6
pinocchio wrote:
no other idea?

pleas, help :wink:


I don't really think it's possible to hide the flashing caret in a rich
text box. I remember asking the same question some years ago, about
hiding the caret in a Win32 rich edit, to no avail.

Still, perhaps you could try searching Google Groups; e.g.:
http://groups.google.com/groups?&q=rich+hide+caret
Nov 16 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
9466
by: S.W. Rasmussen | last post by:
A trivial (?) question: does anyone know how to change the shape of the cursor in a RichTextBox control from the normal vertical line to an underscore?
2
2368
by: anonymous | last post by:
is there a way to surpress the insertion cursor in a rich text box? for instance, i might want a RichTextBox to display some text as a Label would-- readonly, no insertion cursor though text could still be selected. help!
1
1767
by: rammohan | last post by:
hello how can we change cursor on particular text in richtext box using c# i.e i want to change the cursor from default to Hand when the mouse moves over a particular text. regards --rammohan
5
2451
by: pinocchio | last post by:
Hello, I want to hide cursor in textRichBox. Default the cursor blink if you click on richTextBox and I want to disable this feature. I need to make something like Adobe Reader, so textRichBox as readonly but the text can be selected, etc. Any idea?
2
2912
by: randy | last post by:
Hi, I'm trying to set up a richtextbox to behave like the text area in a web browser, i.e. no caret, and a cursor that changes depending on what it's hovering over. I've been setting the cursor by testing the "Selection" properties of the text the cursor is over. This requires setting the SelectionStart property, which causes the caret to move. Ugh!
22
4572
by: DraguVaso | last post by:
Hi, For my application I need the following behavior: When I press F4 the cursor has to move to the next line in my multiline textbox which begins with "0". Finding lines starting with 0 isn't that difficult, but to find the next line is more difficult. For exemple: if my cursor is on line 200, it has to start searching on line 201, and not on line 1. Anybody has any ideas?
0
1387
by: Sakharam Phapale | last post by:
Hi All, I am using RichTextBox control for text editing purpose. If user selects some text and right clicks on RichTextBox then context menu is displayed. Now, problem is when user sets cursor at some character position and then right clicks without selection, cursor automatically moves down at the end of RichTextBox text and context menu is displayed.
2
2820
by: gsb58 | last post by:
Hi! I'm new to VB.NET Anybody that could show me how to find the cursor position in a RichEdit? That is: when user click anywhere in the box and there's some text already, I want to programatically move to a new line and insert time, make a new line and user will be ready to insert new text.
0
1592
by: Lou | last post by:
Dear all, I have two questions and need to get some hints from u. :0) 1. Editor with the syntax functionality. In my ongoing editor, when the user types the word, e.g. "ABC", the word "ABC" will appear in the RichTextBox with the changed color red. Afterwards, when the furhter action is taking on, e.g. user gives the input directly in the RichTextBox or types the other word, the color
0
1366
by: Rahna | last post by:
Hi, I'm using the DirectSS1 Speech Control in my VB 6 application. I tried to use the WordPosition Event to move the cursor along with the speech. the code goes like this Private Sub DirectSS1_WordPosition(ByVal hi as long, ByVal lo as long, ByVal ByteOffset as long) RichTextBox1.SelStart=ByteOffset/2
0
9881
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11354
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10923
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8100
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7256
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5943
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
6148
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4778
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4344
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.