Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    [SOLVED]TreeView Drawing Cycle to cell/GeUserArea

    SDK Help
    0
    3
    685
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      Helper
      last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

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

        Hi,

        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.

        1 Reply Last reply Reply Quote 0
        • H
          Helper
          last edited by

          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.

          Thanks!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post