I am using WIN32API to find out if the application is all ready loaded then using ShowWindow to show the window. I get inconsistant results on showing the window. Sometimes it is shown and sometimes it is only partialy painted. I have tried the following with 3, 5 and 6:
LPARAMETER lnHWND
DECLARE INTEGER ShowWindow IN Win32API;
INTEGER hwnd, INTEGER dflag
= ShowWindow(lnHWND, 3)
<\PRE>
Does anyone know the syntax for ShowWindow to maximize the window and bring it to the top?
Thanks