Click to See Complete Forum and Search --> : clipboard format


jakapun
May 10th, 1999, 07:21 AM
My Program is texteditor create form visual c++ 6.0 (mfcAppWizard (Richeditview)).
Now me can paste imgfile(file picture) onto document.
I need can paste only textfile.
please answer me urgent.
thankyou very much.

indika
May 10th, 1999, 09:00 AM
hClibMemory = GetClipboardData(CF_TEXT);
if(!hClibMemory) // if not text data just go away
{
return S4TK_PasteFailed;
}