Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
HWND from a VFP EditBox?
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00412205
Message ID:
00412783
Views:
19
>>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.
Mike Stewart
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform