how can I include vertical scrolling with a dialog box and how can I insert static without truncatio
I have a modal dialog box. When I insert static text, I can type
about 100 characters, after which the compiler will warn me that my
string size is too long and that it will be truncated. Is it possible to
insert a really long static text caption, say 2 pages of text?
Also, under the 'more styles' option, I can insert vertical scrolling, but
how can I make this take effect. Currently it pops up with my modal
dialog box, but I can't scroll down to insert or view text in this dialog
box.
In the end, I am trying to create a modal help dialog box that has several
pages of text, but I want the dialog box to be normal size with vertical
scrolling.
Any response any one can give me will be greatly appreciated.
Re: how can I include vertical scrolling with a dialog box and how can I insert static without trunc
Use a read-only multiline edit control. This will support scrolling (instead of having to try and support scrolling in the dialog box).
Re: how can I include vertical scrolling with a dialog box and how can I insert static without trunc
How can I insert multiple lines of text into the edit box? Currently, if I text
m_edit1 = "text for line 1 \n
text for line 2 ";
I get errors. How do I define a new line?
Any response you can give me will be greatly appreciated.