VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Subclassing

by Steve Weller (3 Submissions)
Category: Windows API Call/Explanation
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (8 Votes)

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

Download Subclassing

Download Subclassing (11 KB)

Subclassing Comments

No comments have been posted about Subclassing. Why not be the first to post a comment about Subclassing.

Post your comment

Subject:
Message:
0/1000 characters