Results 1 to 15 of 15

Thread: How to Set a Picturebox object to the handle of another Picturebox in another App

Threaded View

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Jan 2008
    Posts
    11,074

    How to Set a Picturebox object to the handle of another Picturebox in another App

    App1 has a Picturebox. App2 has App1's Picture1.hwnd.

    Is it possible to set an object to App1's Picturebox.hwnd and use that object as a picturebox in App2?

    What I am asking is can I have a Picturebox in App2, draw lines and circles on it (like how you would do it in MSPaint) and have the drawings appear on App1's picturebox? I would like the show the results on App1's Picturebox in real-time instead of after the figures have been drawn

    I know I can use BitBlt to copy (which would be after the figures have been drawn) because it uses the hwnd but can it be done like I'm asking?
    Last edited by jmsrickland; Jun 10th, 2013 at 01:25 AM.


    Anything I post is an example only and is not intended to be the only solution, the total solution nor the final solution to your request nor do I claim that it is. If you find it useful then it is entirely up to you to make whatever changes necessary you feel are adequate for your purposes.

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