[wxPython-users] Drawing wx.Window on MemoryDC
Christopher Barker
Chris.Barker at noaa.gov
Tue Aug 8 13:43:29 PDT 2006
Federico Ceccatto wrote:
> My question is, how can I induce the native renderers of wx.Window
> objects to draw themselves using a different DC? Is this possible?
I'm pretty sure it's not possible. As wx wraps the native widgets, they
are drawing themselves to the native screen -- you can't intercept that
process.
> If
> not, is there a way to circumvent this with some terribly obscure but
> genius code?
I think the only option is to blit from a clientDC or WindowDC, but, as
you've found, what that gives you is exactly what's on the screen, which
apparently isn't good enough for your needs. Darn.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker at noaa.gov
More information about the wxpython-users
mailing list