有几种窗口置顶的方法,简单的有: ShowWindow(窗口句柄,sw_ShowNormal); SetWindowPos(窗口句柄,HWND_NOTOPMOST,0,0,0,0,SWP_NOMOV OR SWP_NOSIZE OR SWP_SHOWWINDOW); 另一种方式是: function ForceForegroundWindow(hwnd: THandle): boolean;const SPI_GETFOREGROUNDLOCKTIMEOUT = $2000; SPI_SETFO…