Results 6 issues of npwoods

Attached is demonstration code showing the problem. Specifically in this demo, I do the same thing when I start up as when I click on the button. Here is the...

a:models&views

Is there a reason that callbacks for `invoke_from_event_loop()` and `Weak::upgrade_in_event_loop()` do not support return values? Currently I have to write code that looks like this: ``` let cancelled = Arc::new(AtomicBool::new(false));...

enhancement
a:language-rust
breaking change

`Menu::show_context_menu_for_hwnd()` takes `&self` and returns immediately. If `&self` is dropped or moved, the act of selecting a menu item will result in a stray memory access. Shouldn't this be changed...

I've found a problem where creating a popup menu with old-fashioned raw Win32 APIs. Specifically after `TrackPopupMenu` is called, the UI seems to go "mute" - while mute the UI...

a:platform-windows

Title is self-explanatory