Man-wai Chang <[email protected]> wrote: >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 <[email protected]> >wrote: >> I would like to use SendMessage() to send keystrokes to another >window > >--
Isn't the window that has the current focus, the window that has the active carat. Otherwise, I believe it would be the first child window of the application you are wanting to send the keystroke to. -- Tracy Pearson PowerChurch Software Sent with K-9 Mail. _______________________________________________ Post Messages to: [email protected] 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/[email protected] ** 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.

