Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create a popup list under the cursor
Message
 
 
To
05/08/2005 17:11:11
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01039024
Message ID:
01039043
Views:
23
>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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform