Page 1 of 1

Reverse CatchImage

Posted: Tue Jun 17, 2003 9:19 pm
by tony
This is probably discussed somewhere, but I have been unable to find it.

I am opening a file with the usual 'LoadImage'. I want to write a dll in C that could access this picture to do some image filtering. So my question is:

How do I get an image's addresss knowing its ID? It's like a reverse CatchImage, I want to *get* the address.

Posted: Tue Jun 17, 2003 9:36 pm
by Fred
UseImage() will return the HBITMAP pointer..

Posted: Tue Jun 17, 2003 9:37 pm
by tony
Thanks!

Posted: Sun Jun 22, 2003 1:32 pm
by Jordi
Thanks Fred. This will be very useful to do filters...

Bye,

Jordi