|
-
Mar 31st, 2000, 07:28 AM
#1
Thread Starter
Fanatic Member
Image controls doesn't have handles property. Anyone knows how to create a handle for a control?
-
Mar 31st, 2000, 07:20 PM
#2
Frenzied Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|