/ Forums / Advansys Formativ / Creating Solutions with Formativ / Access the Windows API / Reply To: Access the Windows API
October 5, 2006 at 7:08 am
#7754
Further to my previous message I have found a solution of sorts. At least I think so.
Basically my ActiveX sets and release TopMost as described before – then I use a DoEvents and a SetForegroundWindow in the Formativ applet just before it exits.
This keeps the window on-top and focused.
I’ll still prefer to make the API calls from Formativ as it would be cleaner. Is that possible?
Thanks
Simon