|
From: wangyang on 5 May 2008 06:08 I use GetCursorPos and SetCursorPos ,but they cannot do it? Thank you!
From: Tim Roberts on 6 May 2008 01:56 "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 6 May 2008 11:35 "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
|
Pages: 1 Prev: How to get the Hwnd of the Word Document Next: best way to compare two structs value-wise |