SetWindowPos(Form1.Handle,HWND_TOPMOST,0,0,0,0,SWP_NOACTIVE or SWP_NOMOVE or SWP_NOSITE); //取消前置则将第2个参数改为HWND_NOTOPMOST