REPOST: plus sign on node without adding children

  • Thread starter Thread starter Tim Wallace
  • Start date Start date
T

Tim Wallace

Perhaps my original post wasn't clear enough, so I'll try to reword. I only
want to retrieve a node at a time for my treeview control. As the user
clickes the plus sign, I will populate child nodes. In pre-.NET, it was
easy to do. In .NET, using Visual C# 2005 EE Beta, if I don't insert a
child, the plus sign will not show. Is there a way to make this happen?

Tim
 
Tim,

How did you do it before .NET? Did you send a message to the control?
If so, you can probably do the same thing by making a call to the P/Invoke
layer, calling the SendMessage API function, and passing the appropriate
handle and message.

Hope this helps.
 
Tim said:
Perhaps my original post wasn't clear enough, so I'll try to reword. I only
want to retrieve a node at a time for my treeview control. As the user
clickes the plus sign, I will populate child nodes. In pre-.NET, it was
easy to do. In .NET, using Visual C# 2005 EE Beta, if I don't insert a
child, the plus sign will not show. Is there a way to make this happen?

Tim
search www.codeproject.com for a solution.
 
Back
Top