win-win
win-win copied to clipboard
A semi-opinionated way to create windows on Windows.
Since it's currently UB to panic across an FFI boundary (rust-lang/rust#52652), code executed in the window procedure either must not panic or needs wrapping with catch_unwind. You can then either...
Maybe this could be added to this crate. But even if it's out of scope, I thought it's kind of interesting and wanted to share. ### Problem Since `window_proc()` function...
This crate is awesome! I've tried virtually every native Windows windowing crate out there, and wasn't happy with any of them, for one reason or another. This one, though, is...
In the [Reddit discussion](https://www.reddit.com/r/rust/comments/eyco38/winwin_semiopinionated_for_window_creation_in/) on this crate, the issue of avoiding use-after-free of a HWND came up. Currently, the crate doesn't do anything to try to prevent this - it...