开发者

How Can I bring my application to the Top of windows

If I have two applications running simultaneously , App1.exe and App2.exe , I want to开发者_StackOverflow中文版 bring App2.exe when a button in App1.exe is pressed.


Use FindWindow to retrieve the window-handle of your app2.exe window and then use BringWindowToTop on that handle.

You can find an (VB) example here: http://support.microsoft.com/kb/186431


Use BringWindowToTop. If you need to find the window handle first, use FindWindow.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜