Man-wai Chang <[email protected]> wrote:

>Yes, Your Honor. But when I run my Foxpro app, the ForegroundWindow
>would become my app,
>The ForegroundWindow always have the caret if and only if it accepts
>keyboard input!
>
>So does Windows remember the thread holding the caret before launching
>a new window?
>And if it does, how could I read that value?
>
>I got an idea: If I could code my Foxpro app such that it did NOT
>accept any input
>in the very beginning (no edit, no textbox, ..), then the Foxpro app
>would not show
>a caret. That way, I could find out the last thread that had the caret.
>

If you have the screen = off in the embedded config.sys file it should work. If 
the user double clicks the icon, no window would have been active. Unless the 
desktop is considered active. 
-- 
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.

Reply via email to