[SOLVED]TreeView Drawing Cycle to cell/GeUserArea

On 10/01/2018 at 00:39, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   R19 
Platform:   Windows  ;   
Language(s) :     C++  ;

Hi there!

Is it somehow possible to draw other GUI elements, in my case a cycle to individual TreeView cells?
If I remember right, drawinfos frame is a GeUserArea. 
So, is it at least possible to draw some GUI elements to this area?

On 10/01/2018 at 04:23, xxxxxxxx wrote:


It is possible to draw a cell user area from TreeViewFunctions.DrawCell() but only within its boundaries. I believe that a cycle is bigger than a cell.
Also GeUserArea does not provide any function to draw GUI elements.

A solution is to open a popup menu with c4d.gui.ShowPopupDialog() at cell's position.

On 10/01/2018 at 08:22, xxxxxxxx wrote:

Hi Yannick, thank you for the reply.
This solution also came into my mind as an alternative.

So I will try it.