Getting screenshot of a child window running OpenGL in it (Windows)

后端 未结 4 1056
醉酒成梦
醉酒成梦 2020-12-19 19:54

I have a main window with children. I need to take screenshots programmatically to crop and draw them back on my main window. The way I do this is:

HDC hDC =         


        
4条回答
  •  旧时难觅i
    2020-12-19 20:54

    Possibly NQR, but you could render your scene to a bitmap and BLT it into the blank space.

提交回复
热议问题