Re: CxImage User Input

new topic     » goto parent     » topic index » view thread      » older message » newer message
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.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu