LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

HWND handle from ATTR_SYSTEM_WINDOW_HANDLE

What type of variable hWnd do i have to define when using the GetPanelAttribute

IS it a
int hWnd

and use in my application function as typed casted into (HWND)

or

HWND hWnd
and type cast it to (int*) hWnd for the above GetPanelAttribute function

Further, I am trying to display images captured by CCD camera. I have used the C codes that come with the camera...The problem is the image is supposed to be displayed on the panel that I have drawn using CVI user interface editor...and after getting and pssing the HWND handle to it. But no image was seen. But when i move/close a dialog box which was programmed to appear, I can see the image at the position previously covered by the dialog box. However, this image did
not stay visible for long. I wonder if there is some problem with the HWND handle or do I need to actively 'refresh' the panel or make the panel transparent?

Thanks for ur time and attention.

william
0 Kudos
Message 1 of 2
(3,184 Views)

I want exanctly the same. Do you find any solution for your problem??

0 Kudos
Message 2 of 2
(2,594 Views)