CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 1999
    Location
    California, USA
    Posts
    34

    how to save hBitmap into bitmap file ?



    I've have a handle of bitmap (hBitmap), with 4 entries color table, how can i save this info. into bitmap file ?

  2. #2
    Join Date
    Feb 2000
    Location
    Santa Clara, CA
    Posts
    3

    Re: how to save hBitmap into bitmap file ?

    HBITMAP structure has pointer to actual bits, so you can write it file by WriteFile. Do not forget to save palette.

    regards,
    Serge


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