Information générale
Catégorie:
Fonctions Windows API
Titre:
How do you get the window handle for _Screen
I have an application that starts another task doing a Run /N xxx.exe. The problem I am having is the new task keeps focus while
the original task seems to run in the background. What I want to do is cause the original task to be the active task as quickly
as possible after the second task is started. I have a routine that I have tried using the sendmessage command along with a
messagereceived event. I coded a setfocus in the event but that did not work. A C programmer friend of mine said to try the
windows setfocus command but in order to do that I need to know what my window handle is. Any ideas?
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement