>Try
Re: Problem showing the application in EXE Message #
893577 and
Re: Problem showing the application in EXE Message #
893586Thanks a lot Sergey, the two messages are very useful
Thanks again
>
>>Hi Sergey, sorry if I'm late.
>>I am trying to shift between two application (VFP executable), one iconized the second maximized and so on.., both launched (Run 'thisapplication.exe') from a two different commandbutton of a main form . A different user wanting launch one of these application and ignoring the application is left iconized, click on the commandbutton. The goal is to maximized the application. 'Is_run32()' gets the application still running, so 'showwindow(hwnd,1)' shows the executable. But, as you know, sometimes the application is showed incompletely, without backcolor showing the only caption bar. No trouble, instead, showing the executable iconized, by clicking on the button bar. The idea is to find in some way the coordinates of the application iconized in the button bar and, by program, clicking on it. Simple to say....