Ok, here's the code that's presenting the problem: <BR><pre class="ip-ubbcode-code-pre"> void PromptUser(char* prompt, char* buffer, int size)<BR>{<BR> cout << prompt ...
I used SendMessage to get the line count of a multiline textbox, since it recognizes word wrap as a new line (and not only crlf). But with EM_GETLINE it needs a pointer to a buffer for lparam. How do ...