Re: CxImage User Input
- Posted by Lone_EverGreen_Ranger Aug 31, 2009
- 1107 views
mic_ said...
I don't know what kind of parameters the transBlt procedure takes, but I really doubt that it accepts a pointer to an instance of the CxImage class (which is what CXI_LoadImage returns). If transBlt accepts an HBITMAP, try calling CXI_MakeBitmap on the image you've loaded with CXI_LoadImage.
That didn't work either. I remember somebody had some code written so that it would allow for this. I remember it being something like this.
function createDIBFromCXImage(atom hDib) return hDib end function
I don't rememeber all the code in the function, but I remember that is what I had that showed the image in the window. I think Greg wrote it, but I'm not sure.