I subclass several windows's messages of a form from an ActiveX component.
If the client program executes an End statement when the subclassed form is
flashing (the form was loaded and activated, but the app doesn't have the
focus), and at that moment the End occur, it crashes (it actually exits the
VB IDE without any crash message).
I'm using the SSubTmr from vbaccelerator.
The problem occurs only if i have subclassed the WM_ACTIVATE or
WM_NCACTIVATE messages, if i remove these messages, the problem doesn't
arise.
The problem occur even if i have no code for the WM_ACTIVATE message in the
WindowProc procedure, also if i call the CallOldWindowProc, or whatever code
i tried for that message.