RichJackson
asked on
HBITMAP And BITMAPINFOHEADERS
Hi
What is the relationship between a BITMAPINFOHEADER and a HBITBMAP?
I have a LPBITMAPINFOHEADER but i want a HBITMAP so i can display it in a CStatic.
Cheers
Richard
What is the relationship between a BITMAPINFOHEADER and a HBITBMAP?
I have a LPBITMAPINFOHEADER but i want a HBITMAP so i can display it in a CStatic.
Cheers
Richard
Don't think that you can do it in some easy way. Why you have only LPB...ER?
ASKER
I am using AVI api, to return a single frame. The frame data is returned as a packed DIB.
All i want to do is display it!
Thanks Again
Rich
All i want to do is display it!
Thanks Again
Rich
than display dib directly, can you show your code or tell which function do you using?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I'm not sure if this works with packed DIBs ...
But it's worth a try.
But it's worth a try.
ASKER
CreateDIBitmap() is definetely my function! Cheers
The only thing is i am struggling with the fourth paramter ptr to initialisation data, i guess i need to manipulate my LPBitmapInfoheader. But i dunno how!
Thanks Again Richard
The only thing is i am struggling with the fourth paramter ptr to initialisation data, i guess i need to manipulate my LPBitmapInfoheader. But i dunno how!
Thanks Again Richard
lpbInit is the bitmap data itself.