I have asked similiar question before but did not get a good answer.

I am trying to take a screenshot of the desktop and it is working fine when I put that on my main window. But I want to put that in a spicifc place like a picture box. But there is no picture box in C++ so which control do I use to copy the contents of dektop onto that control?

And then after that, I want to save the contents on that control to a file as a bitmap. Who do I do that?