Is it possible to subscribe to windows messages loop in win ui 3? #8934
-
I am trying to implement minimizing window to tray, and I see some challenges for myself. So i looked on the web and i could not find much info, how do I subscribe to windows loop in win ui. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
With SetWindowSubclass (from WinRT.Interop.WindowNative.GetWindowHandle in C#) |
Beta Was this translation helpful? Give feedback.
With SetWindowSubclass (from WinRT.Interop.WindowNative.GetWindowHandle in C#)
(I used it for example in WinUI3_NotifyIcon mainly to handle the custom Tray message (WM_TRAYMOUSEMESSAGE in MainWindow.xaml.cs)