--- In [email protected], "swzoh" <[EMAIL PROTECTED]> wrote: > > --- In [email protected], "entropyreduction" <powerp@> wrote: > > > > Hi, > > > > Any ideas how figure out where the insertion point is on the screen? > > i.e. the coordinates of the point at which next typed key will be > > entered, or the last was entered? > > > > I tried > > > > dll.call("GetCaretPos|struct* bool", stPoint) > > > > but got 0, 0; bet that only works inside process with keyboard focus > > dealing with keyboard. > > PP has now a built-in keywords, xcursor/ycursor. I thought they're > using GetCaretPos. BTW, GetCaretPos returns the client coordinate, > maybe you forgot to convert it to the screen coordinate.
I just read about it, GetCaretPos should be run inside the same thread. So, xcursor/ycursor seem to use AttachThreadInput as Bruce said already. Sean Attention: PowerPro's Web site has moved: http://www.ppro.org Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/power-pro/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/power-pro/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
