THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 02/09/2009 at 02:30, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 9.6
Platform: Windows ;
Language(s) : C++ ;
---------
Hello,
i have a 3 questions about my treeview.
1. After a douple Click on an element in the treeview, a dialog appears, where i can change the name of the element. The problem is, that my function
> \> virtual Bool DoubleClick(void \*root,void \*userdata,void \*obj,LONG col,MouseInfo \*mouseinfo \>
will be executed after the opening of the Name Dialog. Therefore is my first question, how can i avoid that the Name
Dialog will open? Maybe there is a read only function?
2. My second problem is similar, i want use the function
> \> Bool ResultTree::MouseDown(void \*root,void \*userdata,void \*obj,LONG col,MouseInfo \*mouseinfo, Bool rightButton = FALSE) \> { \> if(mouseinfo->rightButton == TRUE) \> { \> rightmousetest = TRUE; // member for analyse in other cpp \> } \> return FALSE; \> } \>
to create my own context menu in the main cpp, but after the first right-mouse-button-click appears a context menu with the elements (Remove, Remove All). After the second RMB-click appears my context menu. How can i avoid this?
3. This is my last question. Is there a possibility in the treeview to select more than one element?
I´m waiting of answers,
coffeemax