-
Notifications
You must be signed in to change notification settings - Fork 710
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
WinUI for Desktop #4375
Comments
Yes ContentDialog. |
@Austin-Lamb FYI. @Fernand-Delavy I haven't seen PrintManager before, but the api's that have *ForCurrentView() generally use the core window, which isn't supported in Winui3 preview 4. I don't know if this has another way to do it or not. |
I'm running into the same problem in WinUI3. How do I get printing to work? All examples I Google use UWP. |
Sorry for my bad englich I think here is a "Wirte Only" forum. All developper write but the Microsoft Staff (GitHub) never reply ! |
@MikeHillberg and @codendone FYI |
so no solution? |
Please try the solution in the sample app linked in #7234. Essentially, as mentioned above, *ForCurrentView() methods don't work in WinUI 3 desktop apps, which don't have a core window. But you can work around it with an hwnd and the interop method:
I'm closing this as a dupe of #4419, and any more conversation can happen over there. |
i use Visual Studio 16.9.0.Preview 5.0
App can't print because crash:
PrintManager manager;
manager = PrintManager.GetForCurrentView(); // System.Runtime.InteropServices.COMException: 'Interface non enregistrée (0x80040155)'
The print capability is important
Can't change Windows title from 'WinUI Desktop' to app name
MessageDialog crash work arond use ContentDialog ?
The text was updated successfully, but these errors were encountered: