-
October 4th, 2021, 10:28 AM
#1
Creating a popup window above an another.
I have a `handle` to third party window (not created by me, retrieved using the `FindWindow` function). Now I'd kile to create a small popup style window that will ALWAYS be laid down ovev/on top of that third party window. The case is I don't wanna the popup to be always above all the system windows, but ONLY above the window that I've described so I don't wanna use the `HWND_TOPMOST` option in the `SetWindowPos` function.
How can i achieve it without using the `HWND_TOPMOST` flag?
-
October 4th, 2021, 10:56 AM
#2
Re: Creating a popup window above an another.
All advice is offered in good faith only. All my code is tested (unless stated explicitly otherwise) with the latest version of Microsoft Visual Studio (using the supported features of the latest standard) and is offered as examples only - not as production quality. I cannot offer advice regarding any other c/c++ compiler/IDE or incompatibilities with VS. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/ and can be used without reference or acknowledgement. Also note that I only provide advice and guidance via the forums - and not via private messages!
C++23 Compiler: Microsoft VS2022 (17.6.5)
-
October 5th, 2021, 01:22 AM
#3
Re: Creating a popup window above an another.
Have a look at SetWindowPos function and its second parameter
Victor Nijegorodov
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|