DIB bitmap

  • Thread starter Thread starter Jim Hubbard
  • Start date Start date
J

Jim Hubbard

Does anyone know how to delcare or convert a bitmap to a DIB bitmap?

I am writing a drawing control that creates a bit map. I want to return the
bit map to an ACCESS report. When the bitmap comes over ACCESS says
"Specified bitmap not a device-independant bitmap" and quits.

I have done some reading and it seems to need some hpalette pointer
information which I am unsure how to supply.

Thanks in advance,

Jim
 
* "Jim Hubbard said:
Does anyone know how to delcare or convert a bitmap to a DIB bitmap?

I am writing a drawing control that creates a bit map. I want to return the
bit map to an ACCESS report. When the bitmap comes over ACCESS says
"Specified bitmap not a device-independant bitmap" and quits.

"Post code!"
 
You should be able to find sample code for what you want to do here
http://www.codeguru.com/bitmap/index.shtml

Andy Mortimer [MS]
Please do not send email directly to this alias. This alias is for
newsgroup purposes only

This posting is provided "AS IS" with no warranties, and confers no rights.
OR if you wish to include a script

sample in your post please add "Use of included script samples are subject
to the terms specified at

http://www.microsoft.com/info/cpyright.htm"
 
Back
Top