Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word and Spell Checking Focus Issues
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2003 Server
Miscellaneous
Thread ID:
01305615
Message ID:
01306067
Views:
12
Have you checked to see if google has an api for this? I know the toolbar has spell check built in.

John


>Hi Yuri, thanks...
>
>I thought of that already, but unfortunately the dialog is modal so it pops up and blocks VFP. So there's no way to do this sort of activation - I even tried it off a timer with no luck - completely blocked...
>
>Hmmm... but I wonder if it might work to force Word to the front beforehand. VFP always wants to be on top of the whole window stack when it loads COM objects, so maybe this will work to bring Word and the Spelling dialog with it to the front... will check out later.
>
>Ultimately using Word for spell checking is probably a bad idea anyway...
>
>+++ Rick ---
>
>>Rick,
>>
>>You may try to create a separate exe/dll having timer that has calls like:
>>
>>oShell = CreateObject("WScript.Shell")
>>...
>>if oShell.AppActivate("Spelling:")  && this probably brings the dialog to the front, at least it works for my Word older version
>>
>>
>>
>>Good Luck
John Harvey
Shelbynet.com

"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright
Previous
Reply
Map
View

Click here to load this message in the networking platform