Hi all, I'm having real difficulties getting the Expand() function to work with my tree control. Funny thing is, the problem only occurs when I want to expand the item (collapsing works great!).
Here's the code I'm using:
// This works great!
theTree->Expand(theTreeItem,TVE_COLLAPSE);
// but when it comes to expanding the very same
// HTREEITEM item, this doesn't work
theTree->Expand(theTreeItem,TVE_EXPAND);
Has anybody else noticed this? Could this be a bug in VC++?
Any comments would be welcome.
Thanks
Here's the code I'm using:
// This works great!
theTree->Expand(theTreeItem,TVE_COLLAPSE);
// but when it comes to expanding the very same
// HTREEITEM item, this doesn't work
theTree->Expand(theTreeItem,TVE_EXPAND);
Has anybody else noticed this? Could this be a bug in VC++?
Any comments would be welcome.
Thanks