I just used this line after the Irrlicht window was initialized:
Code: Select all
SetWindowPos(reinterpret_cast<HWND>(videoDriver->getExposedVideoData().OpenGLWin32.HWnd), HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE & SWP_NOSIZE);
Code: Select all
SetWindowPos(reinterpret_cast<HWND>(videoDriver->getExposedVideoData().OpenGLWin32.HWnd), HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE & SWP_NOSIZE);