Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- operator HBITMAP()
- {
- destroyreturn();
- bitmapcurrent2 = CreateBitmap(intwidth, intheight, 1, 32, NULL);
- bitmapold2 = SelectObject(hdcbitmap2, bitmapcurrent2);
- BitBlt(hdcbitmap2, 0, 0, intwidth, intheight, hdcbitmap2, 0, 0, SRCCOPY);
- SelectObject(hdcbitmap2, bitmapold2);
- return bitmapcurrent2;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement