Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting the focus
Message
 
 
To
24/03/2008 12:31:22
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Miscellaneous
Thread ID:
01304943
Message ID:
01304945
Views:
21
>Hi
>I have small project that doing one thing : inserting one line of data to table AAA and exiting.
>insert..
>quite
>
>I have other (big) project with label that show the reccount of AAA and other information from the big project.
>I added timer in the big project to update the labelb.
>
>The problem is that when my small project getting the focus I have to activate menually the big project (and of course my timer not relevant).
>
>I look for way coding in my small project 'Give the focus to the big after exiting', or any other solution?

Check Re: How do I do this again! Window on Top... Thread #1302783 Message #1302787

Basically, SetForegroundWindow is the function you would probably use. But you need to pass window handle of your other project.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform