From: wangyang on
I use GetCursorPos and SetCursorPos ,but they cannot do it?
Thank you!


From: Tim Roberts on
"wangyang" <wangyang(a)hotmail.com> wrote:
>
>I use GetCursorPos and SetCursorPos ,but they cannot do it?

What are you really trying to do? SetCursorPos certainly will move the
cursor pointer, but that's not really very useful. Are you trying to force
a button to be clicked? Are you trying to insert text at a certain point?

Tell us what the JOB is, and we can tell you how to get there.
--
Tim Roberts, timr(a)probo.com
Providenza & Boekelheide, Inc.
From: Brian Muth on

"wangyang" <wangyang(a)hotmail.com> wrote in message news:uvWx2fprIHA.4492(a)TK2MSFTNGP02.phx.gbl...
>I use GetCursorPos and SetCursorPos ,but they cannot do it?
> Thank you!
>

If you are talking about moving the caret, simply use the Global.Selection methods to move the insertion point:

http://tinyurl.com/3slz37

Brian