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
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