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

    Define size of In_Exclude field

    Scheduled Pinned Locked Moved PYTHON Development
    3 Posts 0 Posters 470 Views
    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 Offline
      Helper
      last edited by

      On 21/08/2017 at 03:02, xxxxxxxx wrote:

      How can I define the vertical size of an In_Exclude field in my res file?
      I like to limit it to, for example, 5 entries.
      After that a scrollbar should be visible.

      	GROUP SETTINGS
      	{
              IN_EXCLUDE  MY_LISTBOX  {OPEN;}
      	}
      
      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        On 22/08/2017 at 06:07, xxxxxxxx wrote:

        Hi,

        since R18 (C++ docs changes in R18) the InExclude CustomGUI got extended.
        In a resource file you can use the parameters SMALL_MODE_SIZE and BIG_MODE_SIZE to set the size in small/non-extended and in big/extended mode (flag OPEN), the constants to use in GetDDescription() are to be found in above link with R18 changes.

        Note that the size is not passed in pixels, but rather has to be calculated by SizePix().

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

          On 23/08/2017 at 01:42, xxxxxxxx wrote:

          Clear, thank you.

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