Limit Cursor Movement to Within a Particular Form or Control

Category:
Forms and Controls
Type:
Snippets
Difficulty:
Intermediate
Author:
Leo Koach

Version Compatibility: Visual Basic 6, Visual Basic 5

More information:
See comments for details and example.

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

Declarations:

Code: