I've a problem. I have a project written in C# with a WPF GUI. Now I started integrating the Vista/7 Dialogs using WindowsApiCodePack. A component I use regularly is the CommonFileOpenDialog.
My problem has a main Window, which opens when you start the exe. Then you can click a button and another Window opens. The mainwindow stays open. In the second window there's a button to open the file dialog.
The Problem:
The FileDialog opens like it was opened by the mainwindow. The window, that opens the filedialog should be disabled while the dialog is opened. If i open the dialog, it disables the mainwindow instead of the second window.
Question
----------
Hi
I've a problem. I have a project written in C# with a WPF GUI. Now I started integrating the Vista/7 Dialogs using WindowsApiCodePack. A component I use regularly is the CommonFileOpenDialog.
My problem has a main Window, which opens when you start the exe. Then you can click a button and another Window opens. The mainwindow stays open. In the second window there's a button to open the file dialog.
The Problem:
The FileDialog opens like it was opened by the mainwindow. The window, that opens the filedialog should be disabled while the dialog is opened. If i open the dialog, it disables the mainwindow instead of the second window.
Anybody an idea?
I hope, it's my problem's clear.
Thank you
Patrik
Link to comment
Share on other sites
2 answers to this question
Recommended Posts