Is there a way to create a modeless dialog box in C++ MFC which always stays on top of the other windows in the application? I’m thinking sort of like the Find dialog in Visual Studio 2005 – where it stays on top, but you can still edit the underlying text.
(If it makes any difference, it’s not MDI; it’s a dialog-based app)
Note: This does not work under Windows 10, and may not work under Windows 7 and 8 (Reports vary).
From Nish:
As you mentioned in the comments, the above line makes the window sit on top of every application. You’ll need to do
To make a window sit on top of only your application.