Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21096

[RESOLVED] Send picture from one App to another App

$
0
0
I have two Apps. App1 is visible to the user and App2 is not visible. App1 launches App2 and sends it the HWND of a Picturebox using the Shell function.....

Shell App2 Picture1.hwnd, vbHide


App2 also has a Picture1 which contains an image that is created and changes during run-time. I need to send this picture to App1 every time it changes. Now I have a function that can send a picture from one App to another that works as long as both Apps are visible...

BitBlt GetDC(App1_Picture1_Hwnd), 0, 0, Picture1.ScaleWidth, Picture1.ScaleHeight, Picture1.hDC, 0, 0, SRCCOPY

The above does not work with my project because App2 is not visible.

How can I send a picture to another App if the source picture is not visible?

Viewing all articles
Browse latest Browse all 21096

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>