Information générale
Catégorie:
Fonctions Windows API
Since starting the thread, the following seems to work
In the Deactivate() event put:-
lcTestData = [f^3!gy&ip*2]
In the Activate event put:-
IF UPPE(ALLT(lcTestData)) # UPPE(ALLT(_CLIPTEXT))
lClipBoardChanged = .T.
ENDI
What I was forgetting was that EMPTY(_CLIPTEXT) = .T., if other than text was copied to the clipboard.
By providing lcTestData with a string value unlikely to be pasted from any other application, it tests not only text changes but also if a graphic was copied to the clipboard.
Thanks for your help, Hilmar
Dennis
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement