Focusing window
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
I am working on one application.if i want to make another application to get the focus,what api i should use in VB to allow that application to get the focus.
Hmmm... This forum is generally about VC, not VB. But if you want.. it's a SetForegroundWindow. This function "puts the thread that created the specified window into the foreground and activates the window. Keyboard input is directed to the window, and various visual cues are changed for the user.". You also can try to use SetFocus function, but i do not guarantee it will work between processes