javalikescript / webview-c

A tiny cross-platform webview C library to build modern cross-platform GUIs
Other
66 stars 9 forks source link

Is it possible to try and create the webview from a WINUI2 or WINUI3 window handle? #12

Open EliasDevSE opened 2 years ago

EliasDevSE commented 2 years ago

I've been trying for a couple of days and now I've hit a wall where trying to pass a WINUI2 app window handle throws a catastrophic failure. image Or is there any other way to not create the webview in a separate window and just append it to the current hierarchy or was this library just intended for Win32 Applications?

javalikescript commented 1 year ago

Hello,

Sorry for the delay and unfortunately I can't help you as I have never used WinUI applications.

The webview C library exposes OS agnostic APIs and so is not intended for Win32 applications. The library is intended to be used directly and will probably fail to work when used in a Win32 or WinUI app.

Hope it helps, have a good day, Samuel