Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting the focus
Message
 
 
À
24/03/2008 12:31:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Divers
Thread ID:
01304943
Message ID:
01304945
Vues:
20
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform