Hi, I made a prog with a Poor Edit control (I mean Rich Edit) and under Windows 95, I use for pasting: invoke SendMessage,hwndRichEdit,WM_PASTE,0,0 but under Windows 98, it doesn't work, it deletes the selected text. So, what's the problem.?!? Thanx This message was edited by Vom-bonjour:-(), on 3/20/2001 9:45:02 AM
Im using windows 98, and i use the exact same line of code in my app, and it works. This message was edited by Hiroshimator, on 3/20/2001 2:22:00 PM
I had to use: SendMessage,hwndRichEdit,EM_PASTESPECIAL,CF_TEXT,NULL to get mine to work. See if it works for you.