Detect the Cursor Position within an Edit Control

Category:
System/API
Type:
Snippets
Difficulty:
Beginning
Author:
John

Version Compatibility: Visual Basic 5

More information:
Add one Edit Control (Text Box or RichTextBox Control) and paste the following code into your VB Project.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: