You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the following code I get it to work well except that I have the problem that during a microsecond the main window is seen by the fact that after launching "OnWindowCreated" it does a "window.Activate()" as seen in the link above. Is there any way to prevent this problem?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
@dotMorten I'm trying to make it work but I can't get it to work 100%.
I am following this tutorial but it is not for MAUI so I have to translate the MAUI equivalent: https://dotmorten.github.io/WinUIEx/concepts/Splashscreen.html
In these 2 classes you see the MAUI message flow:
https://github.com/dotnet/maui/blob/8.0.90/src/Core/src/Platform/Windows/MauiWinUIApplication.cs
https://github.com/dotnet/maui/blob/8.0.90/src/Core/src/Platform/Windows/ApplicationExtensions.cs
With the following code I get it to work well except that I have the problem that during a microsecond the main window is seen by the fact that after launching "OnWindowCreated" it does a "window.Activate()" as seen in the link above. Is there any way to prevent this problem?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions