怎么用::SendMessage(pThreadParam->hWnd, EM_REPLACESEL, true, (LPARAM)(pszStr))??
::SendMessage(pThreadParam->hWnd, EM_REPLACESEL, true, (LPARAM)(pszStr))
这个函数怎么用,他有什么意义?pThreadParam->hWnd是什么?
(LPARAM)(pszStr)是什么?
这是个MainFrm.cpp中的函数,
用::SendMessage(pThreadParam->hWnd, EM_REPLACESEL, true, (LPARAM)"How are you!!")
后就可以在窗口中输出"How are you!!".这是什么原因?