Multiline dialog element

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

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

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