Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word and Spell Checking Focus Issues
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2003 Server
Divers
Thread ID:
01305615
Message ID:
01306055
Vues:
14
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
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform