OK, I created a separate topic about it in Suggestions subforum in a hope for some improvements.MarcinW wrote:Conclusion: The described behavior is normal and desired - and not connected in any way with the original problem, described in this thread.
[9.2b]Plugins install Window OnTop LOST
Moderators: Hacker, petermad, Stefan2, white
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Ukraine's National Bank special bank account:
UA843000010000000047330992708
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
OK, I will move this to fixed bugs now!
About the nag screen: This cannot be avoided because it is displayed before the main TC window, as a splash screen.
About the nag screen: This cannot be avoided because it is displayed before the main TC window, as a splash screen.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
GetParent also works to get the parent window of a WS_POPUP dialog box. It was returning 0 before, indicating that no parent was set.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Indeed, you are right - I didn't know about this. I just tested and:
For a window without WS_POPUP style:
- GetWindow(WndHandle, GW_OWNER) works as expected
- GetParent(WndHandle) fails
For a window with WS_POPUP style:
- GetWindow(WndHandle, GW_OWNER) works as expected
- GetParent(WndHandle) works as expected
Regards
For a window without WS_POPUP style:
- GetWindow(WndHandle, GW_OWNER) works as expected
- GetParent(WndHandle) fails
For a window with WS_POPUP style:
- GetWindow(WndHandle, GW_OWNER) works as expected
- GetParent(WndHandle) works as expected
Regards