Problems with useing Edit Boxes
Hi,
I''ve wanted to make a console, like the Quake3 Console, including a Dialog Box for the startup.
I''m using for the Messages a Edit Box, but how can I make a line jump?
If I use ''\n'' in the string, which I send to SetDlgItemText, I only get a symbol in the EditBox. The same happens when I use ''\t''.
My second question is:
How can I get a text of a EditBox, without using a Button which will be activated, when you pres enter (after writing the order)?
Thanks in advance
enable "multiline" or something like that on the edit boxes properties. then ''\n'' will work fine.
Thanks, it works but what does \r mean?
And has anybody an Idea about my second problem (the Input EditBox without a Button)?
And has anybody an Idea about my second problem (the Input EditBox without a Button)?
\n Is the newline or linefeed symbol, and \r is carridge return. In Windows you need the combination of both b/c the \r tells windows to return the cursor to the start of the row, while, \n says go to next row.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement