Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Application iconized in the command bar
Message
From
09/11/2006 04:42:58
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
01167091
Message ID:
01168365
Views:
18
>>>Would this work for you?
>>>_SCREEN.WindowState = 2
>
>>Unfortunetely it does not work. I heard (not verified) this noising effect can be avoided with 'themes off', but is very unpleasant to change the look of my applications! Tanks anyway for your reply.
>
>Can you explain in more details what you're trying to do?

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....
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform