RT

解决方案 »

  1.   

    SetWindowPos(Form1.handle, HWND_TopMost, 0,0,0,0,
                 SWP_NoMove or SWP_NoSize or SWP_ShowWindow); --前端显示
    SetWindowPos(Form1.handle, HWND_NoTopMost, 0,0,0,0,
                 SWP_NoMove or SWP_NoSize or SWP_ShowWindow); --普通显示
      

  2.   

    用showmodal
    或者active几个子窗口中的一个
      

  3.   

    ONTOP!
    form中有这个属性吧
      

  4.   

    你想讓哪個窗口在最前面,就在這個窗口的ForyStyle 設為 fsStayOnTop