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:
00412832
Vues:
23
>>>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.
>
>Er, I wasn't referring to the RT control. Based on your original query, I assumed that we're working with a native VFP text box. Are you saying that this is not feasible with the native VFP control? I'm not saying that it is feasible, I'm just wondering which direction I need to hack next. :-)
>
>Is this spell check conrol firing for every KeyDown? If so, yeah, my hack would be a performance drag. If not, there may still be a way around it.

I don't know really, but from everyone says here it can't be done because VFP doesn't use windowed controls - no window no Hwnd, so you can't assign it to the spell control.
+++ 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
Répondre
Fil
Voir

Click here to load this message in the networking platform