Reverse CatchImage

Just starting out? Need help? Post your questions and find answers here.
tony
User
User
Posts: 26
Joined: Thu May 01, 2003 1:35 am
Location: California
Contact:

Reverse CatchImage

Post 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.
Fred
Administrator
Administrator
Posts: 18351
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

UseImage() will return the HBITMAP pointer..
tony
User
User
Posts: 26
Joined: Thu May 01, 2003 1:35 am
Location: California
Contact:

Post by tony »

Thanks!
Jordi
User
User
Posts: 53
Joined: Sat Apr 26, 2003 10:19 am
Location: Cosmos

Post by Jordi »

Thanks Fred. This will be very useful to do filters...

Bye,

Jordi
Post Reply