VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Subclassing

Steve Weller  (3 Submissions)   Windows API Call/Explanation   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

Subclassing, the interception of Windows messages, allows you more control over VB than ever before. Now you can display messages in the status bar describing a menu that is selected, or force a form to have a maximum and minimum size (like the VB main window). This code shows the benefits of subclassing.

Inputs
Just add the two modules and class to your project and code away!

Side Effects
Subclassing is potentially dangerous. Read the text file accompanying this code for more details.

Rate Subclassing (8(8 Vote))

Download Subclassing

Subclassing Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters