Advertisement
Guest User

Untitled

a guest
Aug 30th, 2015
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. operator HBITMAP()
  2. {
  3. destroyreturn();
  4. bitmapcurrent2 = CreateBitmap(intwidth, intheight, 1, 32, NULL);
  5. bitmapold2 = SelectObject(hdcbitmap2, bitmapcurrent2);
  6. BitBlt(hdcbitmap2, 0, 0, intwidth, intheight, hdcbitmap2, 0, 0, SRCCOPY);
  7. SelectObject(hdcbitmap2, bitmapold2);
  8. return bitmapcurrent2;
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement