-
-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pass Win32 Window Handle to ShowDialog() #18
Comments
Hi @mu88, in principle I'm OK with that change if there are scenarios where Are using the TaskDialog from within an Excel add-in or similar? If so, does passing a |
Thanks for getting back so quickly, @augustoproiete ! We're developing a WPF application. This application communicates with Excel via COM and retrieves Excel's window handle as I gave it a try by calling |
Sounds good. I'll take PR then if you're up for it. Bonus points if you can add the same overload to the other dialogs too, for consistency. |
Yes I'll go for this PR |
Provide overloads for an Win32 handle as owning window (#18)
Closed via #19 |
Can you please create a new version for NuGet, @augustoproiete ? |
Sure @mu88. I'll push a new vesion to nuget.org by tomorrow evening |
@mu88 NuGet package published to nuget.org - https://www.nuget.org/packages/Ookii.Dialogs.Wpf/1.2.0 |
Thank you @augustoproiete ! I've integrated the new package and it works like a charm 🥳 |
I'd like to pass a Win32 Window Handle (e. g. from Microsoft Word, Excel or Outlook) into
TaskDialog.ShowDialog()
. For this, it seems to be sufficient to makeTaskDialog.ShowDialog(IntPtr owner)
public
instead ofprivate
.What do you think about making this method
public
? I could provide a PR if you want.Thanks!
The text was updated successfully, but these errors were encountered: