08-02-2012 11:37 AM
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
08-02-2012 12:59 PM
Hi,
this was an easy one
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...