VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Overwrite mode control for RichTextBox

by Bruce Fast (3 Submissions)
Category: VB function enhancement
Compatability: Visual Basic 5.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (4 Votes)

The RichTextBox responds to the Insert key to toggle between Insert and Overwrite mode, but it doesn't display the correct cursor (caret), nor can you tell what mode it is in at any one time. This example shows what's necessary to make a block cursor, and report the RTB's insert mode.

API Declarations
GetKeyState, CreateCaret, ShowCaret

Rate Overwrite mode control for RichTextBox

Download Overwrite mode control for RichTextBox

Download Overwrite mode control for RichTextBox (3 KB)

Overwrite mode control for RichTextBox Comments

No comments have been posted about Overwrite mode control for RichTextBox. Why not be the first to post a comment about Overwrite mode control for RichTextBox.

Post your comment

Subject:
Message:
0/1000 characters