Hello everybody!
I am very familiar with the concept of subclassing.
In order to subclass, a new WndProc address is required to redirect the messages to that proc.
In order to get the WndProc address, AddressOf operator can be used.
This is very standard.
My problem is, I am writing a class module that holds some controls and needs to subclass them internally, so no other modules are allowed to avoid external dependencies.
So, I wonder, is there a way to subclass in such a way the WndProc will be a class method function?
I am very familiar with the concept of subclassing.
In order to subclass, a new WndProc address is required to redirect the messages to that proc.
In order to get the WndProc address, AddressOf operator can be used.
This is very standard.
My problem is, I am writing a class module that holds some controls and needs to subclass them internally, so no other modules are allowed to avoid external dependencies.
So, I wonder, is there a way to subclass in such a way the WndProc will be a class method function?