How to copy CreateImage drawings to clipboard?

Just starting out? Need help? Post your questions and find answers here.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by fred.

Using API or not is a programmer choice. I don't want and will never force a coder to use build in PureBasic functions. Each PureBasic libraries are designed to be easely inter-operable with API functions. So there is virtually no limits, all kind of applications can be made with PureBasic. But if the user want to be a portable program, it MUST use build in function and the GUI functionnality will be a bit reduced (no fancy stuffs) but still very good looking and professionnal.

Fred - AlphaSND
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by PB.
Using API or not is a programmer choice. I don't want and will never force a
coder to use build in PureBasic functions.
Just another reason why I love PureBasic so much!


PB - Registered PureBasic Coder
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by cor.

If you use the following code twice or more, the clipboard will be empty.
Call it once the clipboard data is ok.

OpenClipboard_(0)
EmptyClipboard_()
SetClipboardData_(#CF_BITMAP,hnd)
CloseClipboard_()

I call it from WaitWindowEvent

Has someone a solution fot this

Registered PB version : 2.82 (Windows)
--------------------------
C. de Visser
Author of Super Guitar Chord Finder
http://www.ready4music.com
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by cor.

I only make Windows application :)

Not anybody needs the same.

Registered PB version : 2.90 (Windows)
--------------------------
C. de Visser
Author of Super Guitar Chord Finder
http://www.ready4music.com
Post Reply