LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Screenshot of active panel

Hi,

 

is it possible to make a screenshot of the current LabWindows panel or just the total desktop in wondows?

 

I was trying

 

GetScaledCtrlDisplayBitmap (panel, control, 0, 600, 800, &test);

SaveBitmapToJPEGFile (test, "test.jpg", JPEG_INTERLACE, 90);

 

But it only makes a screenshot of the current controle...

 

Cheers

0 Kudos
Message 1 of 2
(2,823 Views)

Hi,

 

this was an easy one Smiley Wink

 

The reason you only get the current control is because you ask for a control bitmap... So use GetPanelDisplayBitmap instead and it should do what you want, almost... It will not be a true screenshot, for details see here

So you are invited to support my request for a true screenshot...  Smiley Wink

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