On Sat, Mar 10, 2012 at 11:43 PM, Tracy Pearson <[email protected]> wrote: >> 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.
Really that simple? If that really worked, I could save a SetForegroundWIndow() call before I SendMessage(hWndCaret, WM_SETTEXT, 0, @mytext) to that window continuously, just like those Chinese input IME. -- .~. 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: [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/CAGv=mjayo0c6fqrj7l2a+3ieezyk8wumiv+ishf7b0qsgbv...@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.

