I implemented a treeview and it is working ok.
Now I want to add the right click function.
Right click opens a context menu, so I need to add my own menu item to the context menu. That is working too.
Except I do not know how to remove the the default context menu items (Remove and Remove All).
I read this in the manual.