sciter-sdk / rust-sciter

Rust bindings for Sciter
https://sciter.com
MIT License
804 stars 76 forks source link

Child window support? #24

Closed Boscop closed 6 years ago

Boscop commented 6 years ago

How to create a child window from a given parent HWND?

Like this: https://sciter.com/tag/child-window/

pravic commented 6 years ago

Your question is not clear.

The Window::create method would be the answer if you wanted to create a sciter window as a child of another window (native or sciter's).

But your link is about a foreign native child inside a sciter window. So, it's basically the same then, wnd.get_hwnd () and there we are.

Boscop commented 6 years ago

Thanks!

Btw, is there a way to compile JS to tiscript? (So that I can use languages that compile to JS.)

pravic commented 6 years ago

There is no way (as far as I know).