That is an old bug. Open two Lister windows at the same time. Call Find dialog in both of them, then switch to the first copy and try to close (OK / Cancel) the find dialog - you cannot. Second copy doesn't allow the 1st one to close its dialog.
BTW, 2Ghisler:
How do you achieve that Find dialog opens modally relative to the caller window only, not modally for the whole app?
It's interesting. How to do that?
Lister: several opened Lister windows conflict a little
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Hmm, nothing specil, I'm just calling the DialogBox() function internally. Since it starts a new message loop, you cannot do things like closing other windows. You will also get into troubles if you open a modal dialog both in Lister and the main Total Commander...How do you achieve that Find dialog opens modally relative to the caller window only, not modally for the whole app?
It's interesting. How to do that?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Indeed I changed the VCL function to show the dialog boxes to make it work as it does now. This way the dialog in Lister does at least not block TC or the other other listers...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com