No rendering on child windows created by SetParent native api method

Hi PrashantSaxena ,

Welcome to the GLFW forum.

I don’t know enough about child windows and OpenGL since when I’ve needed this behaviour I’ve simply closed the second window and rendered the window content to a region of the main window directly - this is also how the popular Dear ImGui docking branch works.

I did find a bit of code on Github using GLFW and SetParent, which I can’t find again (sorry). However it appeared to be resting some style attributes similar to the post below:

Perhaps that might work for you?

Good luck,
Doug.