const CRhinoObject* pOBJECT = (… here I get a pointer on my object)
if( pOBJECT != NULL ) pOBJECT->Highlight( );
But the object is never “Highlighted”…
“Highlighted” means for me “PINK” like when Rhino popup a little windows asking to choose between 2 curves clicked for exemple.
I must mention than my object is “SELECTED”… so already “yellow” in the document…
Is it why it’s not possible to highlight it ? Or have I to do something more to see it “pink” ?
Because we have a « group » selected.
Because this group is selected… each component of it are selected too.
For a particular purpose, we are offering to the user, inside a dialog, a tree-view describing this group.
When clicking on a branch (a branch = an element of the group) we would like to highlight « this » component.
This dialog is a panel, activated by an event watcher…
This event watcher catch the « selected », « unselected » events…
So we can’t unselected ourself the group just for hilight a component of it and not the other…
This would be make the event watcher becom crazy !
So we have to find a way to « highlight » one component of a group « selected »…