gabdube / native-windows-gui

A light windows GUI toolkit for rust
https://gabdube.github.io/native-windows-gui/
MIT License
1.96k stars 127 forks source link

Attaching a tooltip to a menuitem #293

Open eugenesvk opened 5 months ago

eugenesvk commented 5 months ago

I've tried to register a ToolTip with a menuitem, but was getting owner.hwnd().expect(BAD_HANDLE) panics "INTERNAL ERROR: Tooltip handle is not HWND!"

Is this not implemented in your framework and you'd need something like toolstripmenuitem or is it possible, but I was doing something else wrong?