Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
FORM.KEYPREVIEW for Mouse?
In certain situations, I want to trap mouseclicks at the form level before they are passed through to underlying controls.
Research thus far has shown no mechanism.
FORM.KEYPRESS doesn't trap for mouse events.
INKEY() will map a mouse click to value 151, but a loop with INKEY() is not feasible.
Searching on UT, surprisingly, revealed nothing about this specifically.
Hacker's mentions a method of trapping user interactions through KEYPRESS, and notes that it doesn't work for mouse events.
Am I mousing up the wrong tree?
Jay
Suivant
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