parro-it/libui-node

REQUEST: Windows native hwnd and events

TheNoim opened this issue · 2 comments

Hello,

At the moment it seems like that it isn't possible to get the native hwnd from a window. It would be really nice to be able to do this.
As an example would be electron with this.
Also the hook methods would be extremely useful (this).
Thanks.

it isn't possible to get the native hwnd from a window. It would be really nice to be able to do this.

What would you like to do with that handle? Using that handle in Javascript seems quite complex (requiring a native module) and platform dependent.

Also the hook methods would be extremely useful (this).

This only works for Windows, cross platform support is one of the main conditions for adding new features to libui itself.

If you do cross platform development you sometimes still need to use platform specific features. Some programs communicate over the windows messaging system.