Copy

Is there a way to put text on the clip board for example "cat"

Thanks
Yes. Read about the Windows clipboard here.
http://msdn.microsoft.com/en-us/library/ms649014%28VS.85%29.aspx

You need to paste your text as CF_TEXT.
wow that is very confusing ill have to work on this awhile
You call:
OpenClipboard
SetClipboardData
CloseClipboard

You have to pass in memory allocated with GlobalAlloc.

Check out the use of SetClipboardData in http://msdn.microsoft.com/en-us/library/ms649016%28VS.85%29.aspx
Topic archived. No new replies allowed.