Form的FormStyle设为fsStayOnTop 

解决方案 »

  1.   

    SetWindowPos(Appliction.Handle, HWND_TopMost, 0, 0, 0, 0, SWP_NOMOVE + SWP_NOSIZE);
      

  2.   

    我知道了该窗口应该动态创建,而不应该在DPR中创建
      

  3.   

    在timer时间里写
    if not form1.active then
    form1.active:=true;
      

  4.   

    Form的FormStyle设为fsStayOnTop SetWindowPos(Appliction.Handle, HWND_TopMost, 0, 0, 0, 0, SWP_NOMOVE + SWP_NOSIZE); 
      

  5.   

    SetWindowPos(Appliction.Handle, HWND_TopMost, 0, 0, 0, 0, SWP_NOMOVE + SWP_NOSIZE); 不要这一句也可以 阿
      

  6.   

    Form的FormStyle属性设为fsStayOnTop 
      

  7.   

    Form的FormStyle设为fsStayOnTop 
    不要自动建立此Form,在需要时建立
    if not Assigned(youFormName) then
      youFormName := TyouFormName.Create(Application);
    youFormName.show;