How should I let my owner-drawn button double-buffered?

Started by hoverlees, October 20, 2007, 06:10:25 AM

Previous topic - Next topic

hoverlees

Hi,

Every time when I resize the parent of it,there will be a flash.
How to deal with that?Thanks

regards

Tedd

Try adding "WS_CLIPCHILDREN" into the style attributes when you create the parent window, and "WS_CLIPSIBLINGS" for the child windows (including the button.)
No snowflake in an avalanche feels responsible.

hoverlees

Hi Tedd,
Thank you  :U
I solved this problem! :clap: :clap: :clap: