Oh well, I just learnt that there is something called caret in Windows.

So what I should do is to find the hWnd of the class that got the caret.
Now the problem is: I must SetForegroundWIndow() first in order to
find the hWnd that got the caret.
Using SetForegroundWindow() will cause the window to flash, which is
not what I want.

SO is there a method to find out the hWnd holding caret in a window
without first SetForegroundWindow(it)?

On Wed, Mar 7, 2012 at 9:09 PM, Man-wai Chang <chan...@gmail.com> wrote:
> I would like to use SendMessage() to send keystrokes to another window

-- 
 .~. Might, Courage, Vision. SINCERITY!
/ v \ 64-bit Ubuntu 9.10 (Linux kernel 2.6.39.3)
/( _ )\ http://sites.google.com/site/changmw
^ ^ May the Force and farces be with you!

_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/CAGv=mjcpb2s6ydpvsma9orb8awxy3yjqvoydusw-tqxrr7a...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to