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 -

Optimized Line drawing in QT -

datetime - str to time in python -