Results 1 to 4 of 4

Thread: BitBlt using an IPictureDisp (PictureBox.Picture)

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 2000
    Location
    Mexico City
    Posts
    242

    BitBlt using an IPictureDisp (PictureBox.Picture)

    Hi,

    Is that possible? To use an IPictureDisp object to draw its contents using BitBlt?

    I tried BitBlt'ing using the object's "Handle" property, but BitBlt fails, and GetLastError returns 0.

    The only workaround I found is to render the IPictureDisp object on a temp PictureBox and then using that PictureBox' hDC property... But my program doesn't have an user interface, and I don't want to include a form just to have the temp PB.

    Any help is appreciated.

  2. #2
    Zaei
    Guest
    Use straight memory DCs and API.

    Z.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    May 2000
    Location
    Mexico City
    Posts
    242

    Question ?

    ?

  4. #4
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    Look at Fox's profile for a link to his website -- he has a good tutorial there that's about DCs.
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

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