Custom dialog box in OpenGL, without Win32 functions.

I was thinking a way to make my own dialog boxes (custom graphics, buttons, etc.) in my program. What can you say me about that? Should I make my own Dialog box class or ins there another standard way of doing this?

You certainly can go ahead and write your own library to simulate dialog boxes, but realize these will just be graphics drawn on top of your scene, not actual windows.

You’ll have to deal with issues such as how to handle keyboard input, mouse/cursor control, etc. but it can be done.

What can you recommend me to handle the mouse input in a dialog box?

Your own window management.