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

SAP Web Service from .NET via WCF -

email - PHP Mail Error "The Page at X Says: E-Mail can not be sent!" -

Optimized Line drawing in QT -