The following is similiar to an earlier completed bid. The requirements have now grown due to shifting project requirements :
I require a fvb6 unction to enable me to retrieve various details from the infocus edit control in another application.
Perhaps if I explain what my app does it may help :
1) User launches app.
2) User chooses a hot key combination and minimizes my app.
3) User opens another app like notepad, wordpad etc.
4) User starts to edit text and then hits the hotkey
5) My app picks up the hwnd of the currently in focus control so that I can get at the text.
Additional information required from infocus control is as follows :
1 - Current screen position of top of edit box cursor (not mouse pointer). Bear in mind text can be of different sizes.
2 - Number of characters along the cursor (not mouse pointer) is in the edit control
3-current word cursor is in, or at the end of.
Please state whether function will include 2, 3 or both
1) Complete and fully-functional example of use including function (source only is fine)
2) Installation package not required.
3) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc.)
Windows 95, 98, ME, NT4, 2k, XP under vb6