Some events have been added like microsoft.ui.windowing.appwindowchangedeventargs,
otherwise WinUI 3 apps receive same messages as normal Win32 desktop apps, like WM_SYSCOMMAND and others, that can be intercepted with SetWindowSubclass)
WinUI3 : application lifecycle events in desktop app
Harshithraj1871
1,681
Reputation points
Hi,
I was trying go get different application events like, App minimized, maximized, when app goes to background and comes to foreground for winui3 desktop app.
I tried searching for this events, but I was only able to find app launched and window closed but I was not able to find proper documentation other than this.
It would be of great help if you cloud help me by pointing to the right documentation.
thank you
Accepted answer
-
Castorix31 88,051 Reputation points
2022-12-22T07:37:40.26+00:00