Create heavy weight window

Hi together,
I want to create a heavy weight window with it’s own hwnd and want to host it in a JUCE component. Is there an easy way to create such a window with JUCE? Thanks in advance.

There’s no class specifically for that, but you could take a look at things like the opengl component to see how the library classes do it.

I tried to use Win32ComponentPeer, but it’s in “juce_win32_Windowing.cpp”. I tried to #undef JUCE_INCLUDED_FILE, but I still can’t include the file in my cpp file. Am I missing something? I’m using the amalgamated version.

Win32ComponentPeer is an internal class, definitely not for public use. You can get the HWND using Component::getWindowHandle() though.