Subclassing, where is the restriction?

Everything else that doesn't fall into one of the other PB categories.
Edwin Knoppert
Addict
Addict
Posts: 1073
Joined: Fri Apr 25, 2003 11:13 pm
Location: Netherlands
Contact:

Subclassing, where is the restriction?

Post by Edwin Knoppert »

I subclassed a window using SetWindowLong() API.

But some of the window messages are going bad like the move or close window.
Restoring too.

Why is this behaviour?
Can we subclass (hook!) safely every window to diff. windowprocedure?

So far i have a workaround..

Thanks,