Hello,
this is probably MS bug but who knows...
- switch to Windows Classic theme
- select any file (e.g. History.txt in TCMD homedir)
- open any modal dialog (e.g. F5)
- hover mouse over TC button in the taskbar, wait until the menu appears and click RMB on it. The main TC windows should become active
- now you are allowed to use some hotkeys (CTRL+TAB, CTRL+T/W, SHIFT+HOME/END, CTRL+Q, etc...)
- press ALT+F7 and close the dialog
- now the focus is fully back in the main TC window and F5 dialog is still live
Thanks, Tom
Windows 7 Ultimate x64, Windows Classic theme
TC 9b10 x64: modal dialog becomes unmodal
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50550
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Yes, it looks like Windows itself is enabling the TC window. I will check it in the debugger, but I don't think that I can do much about it.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50550
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
- ghisler(Author)
- Site Admin
- Posts: 50550
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I tried returning the focus to the modal dialog, but GetLastActivePopup does NOT return the dialog handle in this case! It just returns the handle of the main window. So apparently it really is a Windows bug. But at least IsWindowEnabled returns false, so I can correctly detect the error.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com