Is there a simple way to see openGL images only in small part of window? I need some controls like buttons or checkboxes on the rest part. How it is possible? Is it possible with (free)GLUT?
===Edit1===
In other words, I need a children window, which will be the quarter of my existing window. Then I have to change the next code in order to pack the glut entity in this small window.
glutInit(&argc, argv);
glutInitDisplayMode(GLUT_RGBA | GLUT_DOUBLE);
glutInitWindowPosition(20, 20);
glutInitWindowSize(frame_width, frame_height);
glutCreateWindow("MyVideo2");
This article explains the way of creation such program minutely in detail, it works for me with few ommited moments like that I couldn't set calling OnTimer on the picture control in VS13 so I have to set it on the dialog.