THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 27/10/2005 at 15:51, xxxxxxxx wrote:
Cinema 4D Version: 9.1+9.5
Language(s) : C++ ;
I have a treeview gadget thats populated by a large list of data. If I doubli click an item, I show the RenameDialog where the user can rename the selected data.
This is with the 9.1 SDK
R9.5 supports a integrated edit field when you double click an object in the OM.
Is it possible to re-produce this behaviour with the treeview gadget itself? I'm assuming the OM uses the treeview gadget so I imagine there is some function for this (but I coldn't see anything in the SDK)
On 28/10/2005 at 09:55, xxxxxxxx wrote:
The 9.5 SDK documentation isn't available yet so it would be difficult to know if the functionality exists and how it operates. You can find for the TreeViewCustomGui and TreeFunction definitions in "resource/_api/c4d_customgui/customgui_listview.h" and see if the new functionality has indeed been imparted to it.
But,if you are using the 9.1 SDK and want 9.5 functionality, you'll need to use the 9.5 SDK. There is neither a way to 'reach' the 9.5 functionality from an older SDK nor to 'extend' built-in class functionality except by defining it using CustomDataType plugin classes and such.
On 01/11/2005 at 07:23, xxxxxxxx wrote:
This is done with PopupEditText(). The good news is that this function was available in 9.1 as well, it just wasn't used in the Object Manager.