Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
HWND from a VFP EditBox?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00412205
Message ID:
00412680
Vues:
24
>>I played around with the RT control, but that ended up being too slow. I have a edit box that has a bunch of functionality attached to it with the keypress event. It's acceptable with a straight VFP edit box, but with the RT control it bogs down to a crawl to where you're waiting for keystrokes.
>
>It's just off the top of my head, but how about setting LockScreen = .t., change the form's caption, then pass the form's window handle to the spell check utility, then change the form's caption back? The reason I suggest this is that I'm making the assumption that the control is calling the Win32 GetWindowText(), which would look at the caption of the form.

Well, no <s>...

THe problem is that firing KeyDown on every keystroke slows the control to a crawl. Add to that a couple of ON KEY LABELS for special markup options and the RT control bogs down big time.

THe whole reason for using a control for spell checking is to get 'live' as you type spell checking. If I need external spell checking I would use Word (and I do this now actually and it works well for that).


+++ Rick ---
+++ 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