Copy to Clipboard?

Blitz3D Forums/Blitz3D Programming/Copy to Clipboard?

Craig H. Nisbet(Posted 2004) [#1]
Anyone know if it's possible to make Blitz copy a string to the clipboard(Windows Copy/paste buffer)?


EOF(Posted 2004) [#2]



Craig H. Nisbet(Posted 2004) [#3]
That's cool. Any idea what the arguments are supposed to be for those commands?


VIP3R(Posted 2004) [#4]
Do you mean the hwnd% and format% ?

hwnd% is the Windows handle (not the Blitz handle) for the Blitz program, it isn't necessary to register this though which is why Ed used (0) in his example.

for the format% see this document:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/dataexchange/clipboard/clipboardformats.asp


Craig H. Nisbet(Posted 2004) [#5]
I got it working, works get! Thanks!