Mombu the Computer Design Forum

Mombu the Computer Design Forum > Computer_Design > NodeChanged doesn't seem to work
REGISTER NOW! Search Today's Posts Mark Forums Read




Reply
 
Thread Tools Search this Thread Display Modes
1 8th April 18:39
External User
 
Posts: 1
Default NodeChanged doesn't seem to work



Hello!

I've a TreeView on my panel and all in all it works. But now I want to change a value in one of the nodes and update just the widget for that node.

In short it's
K2Vector<NodeID>::const_iterator iter = selectedItems.begin();
myNodeID* oneNode = static_cast<myNodeID*>(iter->Get());
oneNode->SetName(PMString ("Test"));
oneManager->NodeChanged(*iter, kFalse, msg);

But nothing changes. Also neither ApplyNodeIDToWidget() nor ApplyDataToWidget() gets called with my message.
I was able to see that myNodeID::Compare() is called with the new name, but nothing else. What am I missing?

Thanks, Martin
  Reply With Quote
SPONSORED LINKS BY GOOGLE

 


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes







Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
Also visit Ogoun the Usenet Archive
666