CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 15 of 21

Threaded View

  1. #7
    Join Date
    Apr 2009
    Posts
    1,357

    Re: [VB6] - pointers and bitmaps

    Quote Originally Posted by WizBang View Post
    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
  •  





Click Here to Expand Forum to Full Width

Featured