Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Are we GUI Yet? The state of building user interfaces in Rust. Parent comment
It is all a matter of using either UWP or Win32, regarding which API to use.
Win32 use WM_CLOSE
https://docs.microsoft.com/en-us/windows/win32/winmsg/wm-clo...
UWP use Application.Suspending
https://docs.microsoft.com/en-us/uwp/api/windows.ui.xaml.app...
There are no comments on this comment yet.
It is all a matter of using either UWP or Win32, regarding which API to use.
Win32 use WM_CLOSE
https://docs.microsoft.com/en-us/windows/win32/winmsg/wm-clo...
UWP use Application.Suspending
https://docs.microsoft.com/en-us/uwp/api/windows.ui.xaml.app...