Add a 3D Effect to Forms, Textboxes, and Labels

Category:
Forms and Controls
Type:
Snippets
Difficulty:
Intermediate
Author:
Adnan Hasanovic

Version Compatibility: Visual Basic 6, Visual Basic 5

More information:
Make 3D forms,text boxes or labels. This example project takes a form object and control as arguments and draws lines around the objects to give them a 3D effect. A demo sub is included.

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

Declarations:

Code: