I'm trying to make a window that would display some information when switching from my application to the browser it was running. As a result, at the moment it has been tried:
- Shape style: fsStayOnTop;
- Overloading CreateParams with the addition of the WS_EX_TOPMOST style;
- Call SetWindowPos with the HWND_TOPMOST parameter in OnShow () and by timer;
In any case, Chrome, which is invoked via the ShellExecute () command, overlaps this window ... and other applications too. TopMost only works with other forms of my application.
Perhaps someone has already encountered such behavior and knows how to get around the problem?
PS: Window without frame (BorderStyle = []), Delphi XE2, Windows 10 build 14393;