Does anyone know of a way to copy selected text from a CHtmlCtrl window, and store it in memory and/or copy it to a text edit window? Any help would be appriciated.
I haven't worked with CHtmlCtrl and I am not sure how exactly it is implemented but I've successfully used the SendMessage API function. All you have to do is write something like this: SendMessage(win_handle, WM_COPY, 0, 0) and you should have your text copied in clipboard. win_handle must be m_hWnd or of that kind. I am not pretty sure but just give it a try. Hope this helps.<br><br>dex
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.