Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GetCaretPos() ignores cursor keys and mouse click
Message
De
06/04/2005 17:22:16
 
 
À
06/04/2005 16:46:57
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
01002065
Message ID:
01002097
Vues:
17
Hi Cetin,

> Check Message #576055

LOL! Yes, deja vu all over again (not sure how well that translates).

Your original code is great - but because it is based on GetCaretPos(), it fails to recognize when a user has re-positioned the caret using the keyboard cursor keys (left, right, up, down, home, end) or the mouse. So if a user moves the caret and then strikes a hotkey to invoke a pop menu, GetCaretPos() returns the X, Y coordinates of the last visually rendered char the user typed - not the current X, Y coordinates of the caret.

Does my description of the problem make sense or do you think what I'm seeing is specific to my environment (VFP 8 sp1 or VFP 9, XP SP 2)

Thanks again :) for your help on this topic!

Malcolm
Malcolm Greene
Brooks-Durham
mgreene@bdurham.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform