bitmap in windows
Hai can any body help drawing a bitmap in windows using windows sdk. I don't want the implementation using HBITMAP
Creating memory DC.
I am using hardcore technique which includes usage of
the bitmap structure which is as follows
ACTUAL BITMAP DATA
I could display the bitmap but I could not get colors. I am getting only red & black.Unable to use colors of the bitmap
I need some body to help me
thanks in advance
There's an example on MSDN somewhere (sorry havent got link as my bookmarks arent here - testing my new linux installation :)).....have a search!
Also, be aware that if your bitmap is storing colours with RGB, they are stored BGR (1st and 3rd colour swapped)....so you need to swap them....