二个窗口(进程),一个窗口(进程)让另外一个窗口(进程)显示到屏幕最前面。

解决方案 »

  1.   

    SetFocus不可以吗?
    弱弱的答:)
      

  2.   


    SetWindowPos(hWnd,&wndTopMost,.....);hWnd:另外一个窗口句柄
      

  3.   

    顺带我想问一下,怎么让CFileDialog的窗口永远在所有窗口前面(WS_EX_TOPMOST)。
      

  4.   

    定时FindWindow->SetForgrandWindow.
      

  5.   

    GetWindowPlacement Function用这个函数可以查窗口的当前显示信息,The GetWindowPlacement function retrieves the show state and the restored, minimized, and maximized positions of the specified window.SetWindowPlacement Function可以改变显示:The SetWindowPlacement function sets the show state and the restored, minimized, and maximized positions of the specified window.