Skip to content

How to Display a Splash Window Before the Main Window in WinUI3 C++ #10037

Closed Answered by whiskhub
toto45638 asked this question in Q&A
Discussion options

You must be logged in to vote

Probably because you are blocking the main thread with the "sleep for 5 seconds". Try creating a DispatcherQueueTimer with 5 seconds and then asynchronously show the main window once it elapses.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@toto45638
Comment options

@DarranRowe
Comment options

@toto45638
Comment options

@whiskhub
Comment options

@toto45638
Comment options

Answer selected by toto45638
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants