How to block Window interaction when another Window should have focus #8850
-
I have a main Window that should have its interaction blocked while another Window is spawned to show e.g. an error. The FileOpenPicker has the functionality I want to recreate. When I open the FileOpenPicker and initialize it with my main Window it blocks all interaction with the main Window. Is there a way for a normal Window to recreate this functionality? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Set it Modal (for example with OverlappedPresenter.IsModal) |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Ah yes, I had made a test and I had to use GWL_HWNDPARENT too (not sure if it is the best method...) :