1
Answer

TreeView Falickering Problem

ben frenkel

ben frenkel

10y
677
1

 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)