Hi to everybody.
I'm working in Visual FoxPro 6 and am stuck on something that may be quite simple to someone out there...
I want to create a "hot key" function within a text or edit box that can give me the current cursor position. This is so that I can then programatically insert text selected from another source.
I've been through MSDN Help, VFP manuals, various books and searched the Web. All I've found so far is that there's a WGETCURSOR function somewhere in the API Library Routines. I've not used the API Library Routines yet (that I'm aware of!) and don't know where to start.
Have I missed a function somewhere or does anyone know of another option to get the cursor position? If I have to use API - how I would find the correct Library / source?
Any wee pointers would be really appreciated.
Thank you. Kaz
I'm working in Visual FoxPro 6 and am stuck on something that may be quite simple to someone out there...
I want to create a "hot key" function within a text or edit box that can give me the current cursor position. This is so that I can then programatically insert text selected from another source.
I've been through MSDN Help, VFP manuals, various books and searched the Web. All I've found so far is that there's a WGETCURSOR function somewhere in the API Library Routines. I've not used the API Library Routines yet (that I'm aware of!) and don't know where to start.
Have I missed a function somewhere or does anyone know of another option to get the cursor position? If I have to use API - how I would find the correct Library / source?
Any wee pointers would be really appreciated.
Thank you. Kaz