Toast doesn't pop up after calling ToastNotifier.Show #2430
Labels
Pri2
Topic is in the second 25% of page views for the repo.
uwp/prod
Topic product is UWP-related.
winrt-reference/tech
Topic technology is WinRT-related.
[Enter feedback here]
I create a consle application based on C++\Winrt , here is the source code.
This code works well on windows11, but does not work on windows 10. If I add some operation code before
return 0,
such ascout << "what ever"<<endl;
orsleep(100);
, it can work on windows 10 too. It seems the application should wait for a moment after calling ToastNotifier.Show on windows 10.Why does this happen? Is there any way to get the result of calling ToastNotifier.Show?
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: