TopWindow.bas contains two subs: PutThisOnTop (hwnd) and PutThisOffTop (hwnd) You can add or remove top window status to any window in your project simply by adding TopWindow.bas to your project and calling the subs e.g. PutThisOnTop Form1.hwnd