I have two ActiveX.exe programs (ActiveX1 and ActiveX2). ActiveX1 loads a form. This form has a button that calls a method in ActiveX2 to show a form in that exe. The problem I have is when ActiveX1 is minimized, and then maximized, sometimes the form in ActiveX2 is behind ActiveX1.
How can I stop this from happening?