10-18-2011 08:37 PM
Hello EveryOne :
I`m using NI Vision Development 2010 with MFC VS2008 .And I want to known How can I show Image in PictureBox? Are there any examples used by VC++ MFC code?
Best regards
10-24-2011 07:34 PM
AnyBody can help me~~Plz~~~I want to know how can I show Image in MFC picturebox by NI vision.Cause I see the Ex of c++ there only can show Image In the Special Form.
Thanks Very Much!
10-27-2011 09:53 AM
I don't know of anyone that has tried to do this before, but it shouldn't be too hard.
You just need to get a device context for the picture box's window, by calling ::GetDC(). You can then draw the image to that device context with imgPlotDC2(), close the DC, and force the control to redraw.