inter-process SETTEXT call.
one2001boy@yahoo.com wrote:
PostMessage() has a limit of 10,000 byte message in Microsoft on-line
doc. SendMessage() does not have suca a limit in its on-line doc.
It looks that it doesn't make any difference.
No, you are misunderstanding what the doc says. It says the queue is
limited to 10,000 messages. But you only need one WM_SETTEXT message to
post a string of any desired length. That is because the message contains
only a pointer - it does not contain the string.
if using WM_SETTEXT instead of WM_CHAR, both small and large data
doesn't look get sent correctly.
Show your code. You might be doing something wrong.
i = SendMessage(hwnd, WM_SETTEXT, NULL, pc);
is used.
Not sure if there are something missed in the function?
thanks.
Not enough code to diagnose your problem. Give us more code and a more
precise description of exactly what you see happens.
--
Scott McPhillips [VC++ MVP]