Quick and Dirty Desktop Toolbar with Autohide.

Category:
Forms and Controls
Type:
Snippets
Difficulty:
Intermediate
Author:
Anonymous

Version Compatibility: Visual Basic 6, Visual Basic 5

More information:
This is a great way to start making a toolbar. It uses 1 Timer event to do all the work. This example hides the toolbar off the top of the desktop until the cursor is placed near the top edge of the desktop, then the form drops down. The form hides again when the cursor is moved off the form.

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

Declarations:

Code: