Drop a Shadow under Controls (XP Style)

Category:
Forms and Controls
Type:
Snippets
Difficulty:
Intermediate

Author: Flavio Gonz lez V zquez

Version Compatibility: Visual Basic 6, Visual Basic 5

More information:
This code drops a shadow under controls like Windows XP does. You can drop the shadow to all controls in a form or drop the shadow to one or more controls.

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

Declarations:

Code: