ben frenkel

ben frenkel

  • NA
  • 1
  • 951

TreeView Falickering Problem

Aug 12 2014 11:08 AM

 sample Code....

private void TreeViewCtl_MouseDown(object sender, MouseEventArgs e)

{

Point p=new Point(e.X,e.Y);

var n= this.HitTest(p);

n.Node.BackColor = Color.Red;

}

( or  TreeNodeClick Event)
 

the  treeview control is repaint instead  the node

// SetStyle(ControlStyles.OptimizedDoubleBuffer | ControlStyles.AllPaintingInWmPaint, true);

// treeView.beginedit
 
  not give any result  
is there any soultin ?


 


 

 
 




Answers (1)