Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create a popup list under the cursor
Message
 
 
À
05/08/2005 17:11:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01039024
Message ID:
01039043
Vues:
24
>Hi All,
>
>I am tring to create a popup window simalar to that in intellasence. I have been throught the FoxCode project looking for how it was done and have found nothing. I thought it was a POPUP window, but there is no DEFINE POPUP statement. Then I thought it was a ListBox, but can not find one that resembles it. Does anyone have any idea how it may done.
>
>Also, how does it know the currect cursor position?
>

Hi Greg,

It seems to me that popup/listbox is displayed by VFP core code (C/C++).
For the cursor position you can try GetCaretPos() API http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/resources/carets/caretreference/caretfunctions/getcaretpos.asp?frame=true
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform