Create a bitmat from just an hDC?
I know it should be possible, I need to be able to create a bitmap from just an hDC. How would I go about doing this? The bitmap will be stored in memory and not saved anywhere. Basically I want my function to just return a handle to the bitmap.
I want to do something similar to this http://www.codeproject.com/KB/vb-int...shotInVB6.aspx. But unfortunatly due to the way the program is setup, the only data coming in is the DC of the device that Im taking the screenshot of.