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
    • Recent
    • Tags
    • Users
    • Login

    Multiline dialog element

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 331 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

      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

      On 08/04/2010 at 09:31, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:    
      Platform:      
      Language(s) :

      ---------
      Hi everyone,

      I'd like to be able to show a long string in a dialog element, with word wrapping where required. The static text element doesn't wrap, but the edit box, set to multiline, does - except that it displays a cursor, which implies that the user can edit the text (not so in this case).

      I tried disabling the edit box to get rid of the cursor but that also disables the scroll bars, which is not useful. The MULTISTRING custom gui sounds like what I want, but there's little or no documentation and I can't find anything in the various customgui header files in the API; nor can I find an SDK example where it's used.

      I tried using it anyway but although I can insert one with ResEdit, nothing shows up when I add some text using SetString(); and I can't get a pointer for it using FindCustomGui() because there's no plugin ID in the docs.

      Anyone have any ideas about solutions for this one? I've tried my own solution with a GeUserArea but it's not wildly successful and I don't want to keep on with it if I've missed an obvious solution

      Thanks,

      Steve

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

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        On 09/04/2010 at 01:30, xxxxxxxx wrote:

        The MULTISTRING custom GUI is for STRING edit fields only.

        I am afraid you have to write your own multi line custom GUI.

        cheers,
        Matthias

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

          THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

          On 09/04/2010 at 01:55, xxxxxxxx wrote:

          Thanks Matthias. At least I know that I'm not wasting my time by writing my own - I'll just have to iron out the remaining bugs in it 🙂

          Steve

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