Hi Mark,
in an actual project i'm working with a ueye digital camera. With this
camera i got a sdk that i can use within cvi.
To display the captured image in a cvi window, i first get the HWND:
GetPanelAttribute (videoPanel, ATTR_SYSTEM_WINDOW_HANDLE, (int*) &hWnd);
Than i use the SDK function to display the image in this window:
is_RenderBitmap(hf, 2, hWnd, IS_RENDER_FIT_TO_WINDOW);
In an other project with a canon digital stills camera i just receive the
image buffer from the camera and than draw the image to a canvas on a cvi
panel:
error = CanvasDrawBitmap (viewfinder.handle, viewfinder.canvas, bmp.ID,
VAL_ENTIRE_OBJECT, VAL_ENTIRE_OBJECT);
Hope this helps.....
Norbert Rieper
Bremerhaven
Germany
"MarkOberg" <x@no.email> schrieb im Newsbeitrag
news:1188317424567-571842@exchange.ni.com...
>I am trying to display an image buffer in a window that is NOT generated by
>the imaq Display functions. So if I created a different window in C++
>and used the HWND of that window to use as the display, how would I do
>that? Thanks,Mark