True Form on top with API

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

Version Compatibility: Visual Basic 5

More information:
Let your form be right on top even though form does not have the focus. Other applications will still run normally, just with your form floating on top

Just pass the form's Hwnd to the functions...

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

Declarations:

Code: