How to use EM_SETHANDLE on edit control?
问题 I am unable to figure out how to properly use the EM_SETHANDLE mechanism to set the text for an edit control. Get and Set window text will be too slow for my application. From the documentation I understand that the allocated buffer will be sued by the control and it works partially for me. When the text is entered in the control, it is seen in the buffer but when the buffer is updated using memcpy etc (no bug in the code), the updated text won't show properly. I even tried EM_SETHANDLE