here is my few lines of code to capture the scrolled panel and also i
have tried to reduced the size in the clientdc, yet same problem.
I must have missed the beginning of this conversation. Are you trying
to capture the entire contents of a scrolled panel, when part of the
panel is invisible? If so, this path will never work. A wx.ClientDC
can only access pixels that are visible on the screen. There is no
magic "backing store" that holds the other pixels.
You should be able to create a MemoryDC the same size as the entire
scrolling window (NOT the visible region), and then pass this DC to the
OnDraw method of the ScrolledWindow. The ScrolledWindow will recreate
the contents into your DC.
···
--
Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.