Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Gotfocus and Lostfocus on Taskbar
Message
From
28/11/2001 10:47:51
 
 
To
28/11/2001 05:28:50
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00586828
Message ID:
00586983
Views:
13
Hi!

Make a timer that will determine the HWND of your application and MS Word application and, using API functions, check periodically of Word or your VFP application is activated or deactivated. If state changed compare to previous state (stored somewhere), run some code you need. To determine if window is active by its HWND, use Windows API functions.

HTH.

>Dear All,
>
>i am running my application. In other window i am running MSWORD or other, so when the msword or other application is deactivated or minimized i want to perform some coding in my application and same at the of activation of my application or when it click on taskbar.
>
>Thanku In Advance.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform