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? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -