Image controls doesn't have handles property. Anyone knows how to create a handle for a control?
Printable View
Image controls doesn't have handles property. Anyone knows how to create a handle for a control?
as long as the image control is visible. You can find where it is on the screen using its top,left,height and width properties, converting to pixels and using client to screen, with it's container's hWnd as the client. Then make sure the image is at least partially unobscured and use getwindowfrompoint (It might be windowfrompoint, I don't have the declarations to hand) and getDC to get it's handles.
Hope this helps