@Samuel-Lourenco said in How to cause a modeless dialog to block input only to his direct parent (but not to any other windows), as if it was modal?:
Thanks! However, wouldn't that gray out the parent window? It is kind of what I want, but the disabled aspect, even if only momentarily, may send the wrong message to the user.
I don't believe "enabled" has visual cues, but that might depend on the platform.
However, if memory serves, the enabled property propagates to children. So if the progress dialog is a child of the device window, disabling the device window would also block input into the progress dialog itself (e.g. to a "cancel" button)
EDIT: That said, the "enabled" flag (on the platform side) is what modal dialogs (at least on the Windows platform) actually use to disable UI input to all other windows.