How do I make a seperate Window?

What I want to do is make a window inside of another window using c++, opengl, and windows. For example, having a window on the bottom of the screen that displays a characters HP and MP. I could do this in java with awt by making a Frame and to it adding a JOGLCanvas and another Frame, but how could I do this in c++? I want to be able to do stuff like buttons, menues, text fields, draggable objects, health bars, and other 2D GUI components that display in a seperate rendering context. If this type of thing has already been explained well on this forum or on a website, just drop a link in, otherwise I really could use some help.
Thanks in advance

Well, I’ve never tried it myself, but you might want to look at GLUT. GLUT has a number of windowing functions. glutSubWindow will make a new window in a parent window.
I found this on google. might help:

Moving to beginners section.

Its usually not really a good idea to make these things in a seperate window, because you will have a lot of unneccesary context switches.

Just use the viewport to restrict rendering to different parts of a single window. As long as you don’t need more than one top-level window this will work just fine.