I have two VB applications(call them A and B), and I want A to be notified when B gets focus(and A loses focus). Is there a VB event within application A I can generate when this happens? Do I have to use windows subclassing? I would like to avoid subclassing if I can.
Furthermore, if I have to subclass, what's the best way to do this? I know that the message I need to subclass is WM_ACTIVATEAPP or WM_ACTIVATE. Do I need to purchase a third party OCX?