4.1、设置窗体为"StayOnTop"风格. <br><br>SetWindowPos(Form1.handle, HWND_TOPMOST,<br>Form1.Left, Form1.Top, Form1.Width, Form1.Height,0);<br>这里的Form1为你的窗体的名字<br>4.2、设置窗体为正常的、非Topmost风格<br>SetWindowPos(Form1.handle, HWND_NOTOPMOST,<br>Form1.Left, Form1.Top, Form1.Width, Form1.Height,0);<br><br><br>SetWindowPos(handle, hwnd_TopMost, 0, 0, 0, 0, swp_NoMove or swp_NoSize);<br>推荐!<br>