Consider the following scenario:
In this scenario, the window that no longer has the WS_EX_TOPMOST extended window style may be displayed incorrectly above other windows that have the WS_EX_TOPMOST extended window style.
- You run an application that creates a topmost window by using the WS_EX_TOPMOST extended window style on a computer that is running Windows 8.1 or Windows Server 2012 R2.
- The application calls the SetWindowPos function together with an hwndInsertAfter parameter whose value is set to HWND_NOTOPMOST in order to remove the WS_EX_TOPMOST extended window style from the window.
In this scenario, the window that no longer has the WS_EX_TOPMOST extended window style may be displayed incorrectly above other windows that have the WS_EX_TOPMOST extended window style.