Can we Chang the backcolor of a treeNode

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



In VS2003 + Wince4.2
Can we Chang the backcolor of a treeNode? we all know that if the
treeview is focused and the node is selected, its backcolor will become
blue. but when the treeview lost focus, we can not differentiate the
selected node from all nodes.
my qustion is that can we chang the backcolor of the selected treenode
when the treeview lost focus so that we can know which node is selected
even if the treeview is not focused.

thanks in advance.

steel

.



Relevant Pages

  • Re: Refresh of control (color)
    ... > changes the color of the Treeview control 'tvKunder' immidiately. ... > If (TypeOf c Is ListBox) Or Then ... Your example code isn't actually setting the BackColor of any TreeView ...
    (microsoft.public.dotnet.languages.vb)
  • BackColor of the treeview node
    ... When you give color to the 'BackColor' properties of the 'Nodes' of the ... 'Treeview' object it only gives back color to the text area of the Nodes. ... colored the backgorund of the Nodes. ... sample picture is: ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: How to create a TreeView node with no image?
    ... each treenode in the treeview is 0. ... missing treeline was prepared for showing the image. ... Microsoft Online Community Support ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Improve Performance of UI
    ... for my TreeView though, so I know exactly how many levels deep it needs to ... I'm also playing with the idea of creating a new subclass or two of TreeNode ... > you cache the data in a dataset or other bucket and add the child nodes to ... > the expanded node when the user expands a node. ...
    (microsoft.public.dotnet.languages.csharp)
  • Populate TreeView From XML
    ... method 'TreeNode' takes '1' arguments. ... private void Page_Load ... Initialize the TreeView control. ... TreeNode tNode = new TreeNode; ...
    (microsoft.public.dotnet.languages.csharp)