Results 1 to 4 of 4

Thread: Displaying bmp

  1. #1
    Megatron
    Guest
    I believe you could use SelectObject for this.

    Just to be sure though, what method are you using to get the bitmap into the buffer?

  2. #2
    Hyperactive Member eranfox's Avatar
    Join Date
    May 2001
    Posts
    492

    reply to Megatron

    Dear Megatron,
    Thank you for your reply,
    I don't need to get the handle for specifc object ,
    my problem is:
    to use the SetDiBits function. i need to give there as parameter lp (long pointer) to an array of the bit's buffer.
    i don't know how to transform my data to pointer .
    help me
    thanks
    ERAN
    Eran Fox
    ASSEMBLER,C,C++,VB6,SQL...

  3. #3
    Megatron
    Guest
    In VB, you can't use pointers, so just pass the byte array that your data is stored in.

  4. #4
    Hyperactive Member eranfox's Avatar
    Join Date
    May 2001
    Posts
    492

    reply to megatron

    Dear Megatron,
    I used SetPixel and it's working just fine.
    But thanks anyway.
    ERAN
    Eran Fox
    ASSEMBLER,C,C++,VB6,SQL...

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