Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

How to get Handle for a Image Control in WPF

$
0
0
 I have to read an image from a camera dll function.
 the function takes  a handle of the UI element to display the images.
I was able to get the image on the Windows picturebox by using its handle property.

But when i try to do the same thing in WPF, i found problem to do so, as WPF has a single handle
for all controls.
if i pass that handle  it will display the image on the Window itself.
but i want it on Image box.
so my question is how can i assign the WPF handle i have to the Image box or how can i get the
handle of the Image box.
I am aware that controls dont have handles in WPF.
but is it not possible to get the handle using interop?

please help me its really urgent.
nishant singh,Bangalore

Viewing all articles
Browse latest Browse all 18858

Trending Articles



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