libui-node icon indicating copy to clipboard operation
libui-node copied to clipboard

REQUEST: Windows native hwnd and events

Open TheNoim opened this issue 7 years ago • 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.

TheNoim avatar Jul 02 '18 11:07 TheNoim

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.

mischnic avatar Jul 06 '18 19:07 mischnic

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

TheNoim avatar Jul 20 '18 10:07 TheNoim