capturing contents of wxWindow into an image

Keefe, Dan C dan.c.keefe at lmco.com
Wed Aug 1 09:25:44 PDT 2007


Hi,

 

Is there a way to programmatically capture the contents of a wxWindow
into an image file?  The only device context I have to work with is a
wxPaintDC which is not buffered.  The device context goes out of scope
after the OnPaint method goes out of scope.

 

In a nutshell, I need a way to program taking a screen snapshot for a
defined region within a wxWindow.

 

Thanks.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/20070801/8ff48118/attachment.htm


More information about the wxpython-users mailing list