Sunday, March 23, 2008

Why don't expando buttons show up on a TreeView item after adding a child item?

This can be caused by having TVIF_CHILDREN set when calling TreeView_InsertItem. Removing this flag should solve the problem.

No comments: