I've followed your advice to use the following:
DECLARE INTEGER GetActiveWindow IN WIN32API
DECLARE INTEGER ShowWindow IN WIN32API INTEGER hWnd, INTEGER ShowWindowMode
=ShowWindow(GetActiveWindow(),5)
I put the above statements in the Init method of the form but I still could not see my expected application appear as the top most window.
I have 2 applications called server1.exe and client.exe. The client.exe uses timer to check whether there is a signal (via DBF file) from the server1.exe to release current form (process form) and launch another form (lock form).
I click on the server1.exe to trigger the launch the Lock form, the Lock form load behind and not as the foremost window. Why?
Thanks again for your help,
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement