code_junkie

How to eliminate flicker in Windows.Forms custom control when scrolling?

Nov 10th, 2011
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. SetStyle(ControlStyles::OptimizedBoubleBuffer |
  2. ControlStyles::UserPaint |
  3. ControlStyles::AllDrawingInWmPaint} , true);
  4.  
  5. SetStyle(ControlStyles.OptimizedDoubleBuffer |
  6. ControlStyles.UserPaint |
  7. ControlStyles.AllPaintingInWmPaint, true);
  8.  
  9. SetStyle(ControlStyles::UserPaint | ControlStyles::AllDrawingInWmPaint, true);
Add Comment
Please, Sign In to add comment