For text, you don't need API. Just use system variable _cliptext.
HTH, Hilmar.
>In the Deactivate() event of a form, I would like to determine if
>
>(a) the windows clipboard is empty
>(b) the content of the clipboard for comparison purposes
>
>On returning to the form from other Windows application, in the Activate() event of the same form, compare the content as previously saved in VFP to the current clipboard content to determine if the content has changed, thus:-
>
>THISFORM.lEmptyClipboard = .F. && OR .T.
>THISFORM.lClipboardChanged = .T. && OR .F.
>
>TIA
>
>Dennis
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)