opengl : Modal window ?


I’d like to create a modal window
(in C language)
Does someone know if it is possible ?
and how to do it ?



Yes, it is possible to display opengl on any kind of window, but there are a few tehcnical details.

You can have only one current RC per thread. You can have many RC, however.
Might be better to create the modal window in it’s own thread (if you have a main window that also has a RC)

I’m not going to discuss window creation and threads here!