Make an non-electron window parent to an electron app

Viewed 190

I want my electron browser window to be child of the desktop window handle (hWND) in windows 10 which you can get from the c++ win32 API. So I need to create a BrowserWindow or somehow make the desktop window handle parent to the electron browser window.

I wasn't able to make the window parent to the desktop window handle via the SetParent function. This is how I tried to do it: SetParent(electronHWND, GetDesktopWindow());.

Maybe electron is setting parent automatically?

0 Answers
Related