TC seems not to autoclose when instaaling beta version
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
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
https://www.ghisler.com
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. 
.... <a litte bit later>.....
Haha, the déjà-vû was real, no imagination.

.... <a litte bit later>.....
Haha, the déjà-vû was real, no imagination.

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
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
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.
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
https://www.ghisler.com