Open krzysztofantczak opened 7 years ago
Ok, this whole idea seems invalid. I managed to pass HWND to sciter lib, but still, taskbar icon is there :/
It has some sense though.
As for the icon itself.. No idea what's going on under Go, but isn't it simpler to create sciter window with popup style? It would not have a taskbar icon by design.
I tried creating main window with sciter.SW_POPUP and sciter.SW_TOOL, it didn't helped.
Hello,
Would it be possible to tweak this function a bit: https://github.com/sciter-sdk/go-sciter/blob/master/window/window_windows.go#L16-L29 so it could accept win.HWND from github.com/lxn/win package as window parent or "nil" or "0" by default which could fallback to sciter.BAD_HWINDOW and only then create window without parent?
My use case here is: I'm using lxn/win to create tray icon, which uses its own window already (hidden and not used, its only for main loop of tray atm.). I would like to use this window as a sciter parent, to be able (as i understand) to show sciter main window without taskbar icon.
Am i on good track here with my thought process?
Currently, i'm trying to hack my way thru this lib in vendor folder, but i'm having some issues while converting from win.HWND to sciter.HWINDOW or sciter.HWND or even C.HWINDOW :/