c++ - How Can I bring my application to the Top of windows -


if have 2 applications running simultaneously , app1.exe , app2.exe , want bring app2.exe when button in app1.exe pressed.

use findwindow retrieve window-handle of app2.exe window , use bringwindowtotop on handle.

you can find (vb) example here: http://support.microsoft.com/kb/186431


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

c++ - How to modify context menu of internet explorer using IDocHostUIHandler::ShowContextMenu? -

c# - Asterisk click to call -