Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determining changes to the Windows clipboard
Message
From
14/01/2002 07:37:49
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
14/01/2002 07:34:09
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00604216
Message ID:
00604217
Views:
24
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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform