Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

bitblt

Status
Not open for further replies.

darknecromancer

Programmer
Nov 6, 2003
10
US
Ok, I'm trying to get bitblt to work so I can screen capure and i have the fallowing code

HANDLE hdcScreen = CreateDC("DISPLAY", NULL, NULL, NULL);
HANDLE hdcCompatible = CreateCompatibleDC(hdcScreen);
BitBlt(hdcCompatible,0,0,VERTRES,HORZRES,hdcScreen,0,0,SRCCOPY);

and if i run that through, it runs fine but I cant figure out how to write that to a file. Any of you guys have any ideas
 
look up CreateBitmap, CreateCompatibleBitmap etc. and incorporate some bitmap work into your code.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top