sciter-sdk / go-sciter

Golang bindings of Sciter: the Embeddable HTML/CSS/script engine for modern UI development
https://sciter.com
2.57k stars 268 forks source link

How to set a window to the top and focus? #255

Closed fuyoo closed 3 years ago

fuyoo commented 3 years ago

When I click on a tray icon, I create a new window that I want to bring to the top and focus. But I didn't find a way. How to operate it?

pravic commented 3 years ago

Well, Sciter uses view.state = View.WINDOW_SHOWN in script in tray icon sample.

If you want to do it using Go only - well, these methods need to be implemented.

fuyoo commented 3 years ago

Thank you ever so much.