Get text selection?
What i am trying to do is copy the text that is currently selected in a richedit control into a buffer. One way to do this would be use EM_GETSEL to get what the current selection is. Then use GetWindowText() to get all the text out of the edit and pull out the selection that way.
But i have a feeling there's an easier way to do it.
thanks for that. I looked on msdn for an edit controls messages but not rich edit, silly really.
i have another question regarding rich edits, how can i insert pictures without using that STREAMOUT, STREAMIN stuff, because i tried that and it was nothing but trouble.