GetDC of a Rect portion of the Desktop
I am capturing the entire Desktop, creating a bitmap, and then using GDI BitBlt to draw the bitmap as a background image on the Render Target in D3DIM. I would rather be able to capture specific rectangles of various sizes from the desktop.
It appeared that using creating a HRGN and then GetDCEx and/or SelectClipRegion might work, but I have not had any success. It may be that I just don''t understand these functions, or I am on the wrong track.
Any suggestions and/or some sample code would be greatly appreciated.
Thanks
Karl Fisher
karl@hsnp.com
Hot Springs Village, Arkansas
KarlFisher
KarlFisher
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement