[Lazarus] Linux Clipboard

Marc Weustink Marc.Weustink at cuperus.nl
Wed Mar 1 09:00:38 EST 2000


+ From: Hongli Lai [mailto:hongli at telekabel.nl]
+
+ GDK needs a GdkWindow. And GdkWindow needs a GtkWidget.

On second thoughts, if you want to do something with the clipboard in
WINAPI, you need to open the clipboard first. OpenClipboard needs a window.
There you have a GTKwindow you can work with for the other functions. And
only one window can open the clipboard.

If you implement the API functs:
  OpenClipboard
  CloseClipboard
  EmptyClipboard
  GetClipboardData
  SetClipboardData
  EnumClipboardFormats

you then are on the way to implement TClipboard.

Marc






More information about the Lazarus mailing list