OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
Clipboard

You can move a DIB to the Clipboard using the ToClipboard function, which takes a reference to a TClipboard object as a parameter.

Because ToClipboard actually removes the object from your application, you should usually use a TDib constructor to create a temporary object, as follows:

TClipboard clipBoard;
TDib(ID_BITMAP).ToClipboard(clipBoard);

See Also