PoshCode Archive  All files named "Modal-File-Dialogs.ps1"

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

History for Modal-File-Dialogs.ps1

2018-06-10
13:03
Added: There are problems with displaying modal dialogs from PowerShell in XP SP3. When the ShowDialog() method is called, the dialog is not modal and is behind the PowerShell window. To solve this problem, you need to add a class that implements System.Windows.Forms.IWin32Window and instantiate that class with the handle to the main window of the running process, and then pass that handle as a parameter to the ShowDialog() method to make the dialog act modally. file: [88158d5c0a] check-in: [a23bab7826] user: George Howarth branch: trunk, size: 1275