int flags = OS.SWP_NOSIZE | OS.SWP_NOMOVE | OS.SWP_NOACTIVATE;
if (ontop) {
OS.SetWindowPos(shell.handle, OS.HWND_NOTOPMOST, 0, 0, 0,
0, flags);
ontop = false;
} else {
OS.SetWindowPos(shell.handle, OS.HWND_TOPMOST, 0, 0, 0, 0,
flags);
ontop = true;
}