When attempting to get a screen image from a form where the BorderStyle is set to anything other than 3 - Sizable, the _Screen.System.Drawing.Bitmap.FromScreen() method fails with the ASSERT message "GdiPlusError:OutOfMemory".
This .ZIP file contains a sample form that demonstrates the problem:
LightBoxTest.zip
When attempting to get a screen image from a form where the BorderStyle is set to anything other than 3 - Sizable, the _Screen.System.Drawing.Bitmap.FromScreen() method fails with the ASSERT message "GdiPlusError:OutOfMemory".
This .ZIP file contains a sample form that demonstrates the problem:
LightBoxTest.zip