VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



SubClass & SubClassEx

by Stephen Kent (10 Submissions)
Category: Windows API Call/Explanation
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (12 Votes)

This is a set of 2 classes to make subclassing easier by handling all the hooking/unhooking and message routing involved. The SubClass object exposes a single event (Message) which passes the messages the window receives on to the subclassing application. SubClassEx exposes Message and many other events for messages that are commonly subclassed or intercepted. Both classes allow for over-riding a window message, additional processing, and custom messages.

Side Effects
No known side-effects.
API Declarations
4 API calls and lots of constants.

Rate SubClass & SubClassEx

Download SubClass & SubClassEx

Download SubClass & SubClassEx (12 KB)

SubClass & SubClassEx Comments

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

Post your comment

Subject:
Message:
0/1000 characters