VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Overwrite mode control for RichTextBox

Bruce Fast  (3 Submissions)   VB function enhancement   Visual Basic 5.0   Intermediate   Wed 3rd February 2021

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 (5(5 Vote))

Download Overwrite mode control for RichTextBox

Overwrite mode control for RichTextBox Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters