|
-
January 6th, 2013, 02:43 PM
#7
Re: [VB6] - pointers and bitmaps
 Originally Posted by WizBang
Rather than copying the bitmap to a byte array, you can use CreateCompatibleDC to create a DC (device context), then SelectObject to give the picture the DC. Then you can access the pixels just like it was a PictureBox, so you can compare the colors simply.
sorry not so simply
i did that before and takes very time to do my TransparentAlphaBlend()(have 2 'FOR''s)
in these case, the changing color, was for help me use the pointers... nothing more
can you give me a very simple Double Buffering sample(just for draw, i don't need an animation)?
Last edited by Cambalinho; January 6th, 2013 at 02:50 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|