TC seems not to autoclose when instaaling beta version

Please report only one bug per message!

Moderators: white, Hacker, petermad, Stefan2

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

Post by *ghisler(Author) »

I see - of course when MinimizeOnClose>0 is set, TC cannot be closed via WM_SYSCOMMAND, SC_CLOSE.
Author of Total Commander
https://www.ghisler.com
User avatar
karlchen
Power Member
Power Member
Posts: 4603
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Actually, ever since recognizing that the value of MinimizeOnClose is relevant, I am having a weird déjà-vû feeling. I may be wrong, but I think we had come across MinimizeOnClose and its impact on the T.C. installer in the past already, only I had forgotten about it. :roll:
.... <a litte bit later>.....
Haha, the déjà-vû was real, no imagination. 8)
history.txt wrote:17.11.10 Release Total Commander 7.56 beta 2
17.11.10 Fixed: Installer could not close running Total Commander with MinimizeOnClose>0
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48079
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Ah, thanks for the clue, that helped! There is indeed a difference between TC 32-bit and 64-bit:

TC 32-bit can be closed with MinimizeOnClose>0 when it's not in
the foreground: It checks whether GetForegroundWindow() is the TC window, and if not, it will accept the close request. So when there is an installer running, TC will not have the focus and will be closed. This check isn't done in the 64-bit version.
Author of Total Commander
https://www.ghisler.com
Post Reply