Alan
Thu Dec 08 11:50:13 CST 2005
The only way to do this is via a vfp timer and check if the speller window
has dropped behind VFP and pop it back out front.
So far sounds ok.
BUT, their are issues. Its been a few months so I do not recall the fine
details. Depending on what the user does until VFP pops the speller back to
the front you can actually get the "switch to" dialog" if the clicks the
correct thing when this comes up, full blown word becomes visiable and
active. When the spell check is finished, your left with word running. If
you do not close word VFP remains hung. If you close word the object will be
gone when VFP gets control. The options at this point are to detect word
being visible in a timer(were in 8 don't know if bindevent in 9 would help)
and hide it before the user closes it or just relaunch the spell
checker(which you have to do if the user closes word before the timer
fires).
While it works its really not the best solution.
As soon as time allows I will change the core objects to use the checker
from SPS.
Alan
"Michel Roy" <MichelRoy@discussions.microsoft.com> wrote in message
news:73E64820-9D2F-49A0-BDF4-92EDD27B33CD@microsoft.com...
> there are ways to pick up a window and make sure it is brought forward
> with a
> few API calls, I think most companies already have Word 2000 or higher
> they
> may even have multiple language directories installed. and since it's a
> snap
> to use and it has an interface everyone is familiar with, i don't think
> you
> could find an easier/cheaper method.
>
> "Alan Sheffield" wrote:
>
>> We have impl,imented a similar solution here and their are some user
>> issues.
>> It is possiable for the user to get the spellchecker window "hidden"
>> beind
>> the vfp window. Their is no visual clue that this has happened and the
>> only
>> way to fix it is to alt-tab to get it back.
>>
>> their is a VFP spell checker available from the gotdotnet code callery
>> from
>> the sendaX project
>>
http://www.gotdotnet.com/codegallery/codegallery.aspx?id=0826d7a6-1dab-4a71-8e70-f2170c3c1661
>> (very bottom right of the page)
>>
>> Alan
>> "Michel Roy" <MichelRoy@discussions.microsoft.com> wrote in message
>> news:4D95B67C-3005-4D59-A7B1-9C79B7DCE66B@microsoft.com...
>> > you may want to read this article by Rick Strahl
>> >
http://west-wind.com/weblog/posts/1382.aspx
>> >
>> > "Dan_Musicant" wrote:
>> >
>> >> I have a FoxPro/VFP application with text entries in memo fields. How
>> >> can I set up spell checking in the memo fields accessible when viewing
>> >> the field? This app works in 2.6 and VFP, but if this can only be done
>> >> for VFP, that's fine. Thanks.
>> >>
>> >> Dan
>> >>
>> >
>>
>>
>>
>>
>