Results 1 to 2 of 2

Thread: Creating Handles

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2000
    Location
    Nitro
    Posts
    633
    Image controls doesn't have handles property. Anyone knows how to create a handle for a control?

  2. #2
    Frenzied Member
    Join Date
    Mar 2000
    Posts
    1,089
    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
  •  



Click Here to Expand Forum to Full Width