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

    GeDialog Titlebar

    SDK Help
    0
    5
    499
    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 29/06/2017 at 23:33, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   R18 
      Platform:   Windows  ;   Mac OSX  ; 
      Language(s) :     C++  ;   PYTHON  ;

      ---------
      Hi again,
      Something that has bothered me a while ago which I couldn't find a solution for and never dared to ask. Not a big issue, but since we're end of June I'd still like to learn something new on this last schoolday.

      A GeDialog shows its title bar by default. With SetTitle one is able to set the text in this title bar. But, apparently, Cinema 4D allows some windows to enable/disable viewing this said title bar.
      The viewports do, as are the dialogs of commanddata plugins. But the Console and Object Manager windows do not allow this (option is grayed out).
      I was wondering if this functionality to show/hide the title bar is accessible from C++ (and/or Python)?

      thanks

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

        On 30/06/2017 at 01:54, xxxxxxxx wrote:

        Hi,

        actually all dialogs behave exactly the same in this regard. The "Show Window Title" option is being grayed out, if the dialog is docked for example into a "tabbed group". In this case the title gets shown on the tab and thus can not be hidden.
        Try it yourself, rip off the OM and dock it to another place in the layout, it will have a window title and the title can be hidden like any other dialog's title.
        This functionality is part of the layout system and can not be influenced by a GeDialog.

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

          On 30/06/2017 at 02:52, xxxxxxxx wrote:

          Oh, I see. Didn't notice the Console and Object Manager were in a tabbed group. That makes sense now.

          Back to the original question then. Is it possible to programmatically show/hide the window title (when not in tabbed group)?

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

            On 30/06/2017 at 04:37, xxxxxxxx wrote:

            Nope, that's what I wanted to say with my last sentence. Sorry for not being clear.

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

              On 30/06/2017 at 04:45, xxxxxxxx wrote:

              Thanks for clearing this up.
              I misunderstood your reply as that the graying out was not possible via GeDialog.

              All clear now, thanks again.

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