TC copies message box text instead of lister text
Moderators: Hacker, petermad, Stefan2, white
TC copies message box text instead of lister text
Open lister, then open MRT and choose 'manually edit names'. When TC will open editor, switch to lister and try to copy some text. Then paste text into editor - text will contain message 'Click OK when you have closed the editor to load the changed names!' instead of selected text in lister.
- ghisler(Author)
- Site Admin
- Posts: 50505
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
This is a "feature" of Windows, not TC. Ctrl+C will always copy the text of a message box if one is open in the current process.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50505
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
No, it's because the MessageBox() function takes over the message loop handling (GetMessage/TranslateMessage/DispatchMessage), and the Ctrl+C handling seems to be done within that message loop.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50505
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Yes, but since they are the same process, they share the same message loop. If you want to avoid that, you need to start Lister as a stanalone tool via /S=L command line switch.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com