[9.2b]Plugins install Window OnTop LOST

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Post by *DrShark »

MarcinW wrote:Conclusion: The described behavior is normal and desired - and not connected in any way with the original problem, described in this thread.
OK, I created a separate topic about it in Suggestions subforum in a hope for some improvements.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

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.
Author of Total Commander
https://www.ghisler.com
User avatar
MarcinW
Power Member
Power Member
Posts: 852
Joined: 2012-01-23, 15:58 UTC
Location: Poland

Post by *MarcinW »

Ok - in fact, both the original problem and the problem with title bar blinking are solved now.

Thanks!
User avatar
MarcinW
Power Member
Power Member
Posts: 852
Joined: 2012-01-23, 15:58 UTC
Location: Poland

Post by *MarcinW »

The last thing: to be sure, that there is no bug in the code, could you please take a look at this question?

Regards
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

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
User avatar
MarcinW
Power Member
Power Member
Posts: 852
Joined: 2012-01-23, 15:58 UTC
Location: Poland

Post by *MarcinW »

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
Post Reply