How to write Device context contents to bitmap file RRS feed

  • Question

  • Hi,

           I am having device context and in that I have copied some bitmap using StretchBlt() method.

    Now I wanted to create one bitmap file that will be having the bitmap as what my DC has.
     In short I wanted to copy the content of Device context to Bitmap file.

    I am trying but I am getting black bmp file

    Please help me
    Thursday, December 18, 2008 10:06 AM