bmp from clipboard ?
Archives Forums/Win32 Discussion/bmp from clipboard ?| 
 | ||
| . | 
| 
 | ||
| *Push* I wrote two functions for you Or read here <CLICK> | 
| 
 | ||
| Great stuff Suco. I've added a TextToClipboard function *EDIT (fixes posted below added with thanks) | 
| 
 | ||
| Hi Here the new code. more complicated, but works fine here. | 
| 
 | ||
| Magic. Works here too. Just a couple of questions: 1) In the TextToClipboard function should the Memblock be freed using GlobalFree() ? 2) Could you possibly write a PixmapToClipboard() function? This stuff is a bit beyond me but thanks very much so far Suco. | 
| 
 | ||
| Hi 1: You are right. You need Function GlobalFree(Mem:Int) in the extern block and this is the new function. 2: Yes, itīs possible. Give me some hours. |