Hi Rick,
To the best of my knowledge, native VFP controls don't have a hWnd - only the top-level screen has one.
I think this has its roots in VFP's use of a bitmap representation of the controls, rather than native windows controls. This, in turn, has something to do with the requirements from when there was a mac version.
Bottom line is that individual controls don't have a hWnd in VFP.
Cheers,
Andrew
>Does anybody know of a way to get an HWND from an editbox? I don't think this can be done, but before I give up I'll ask here...
>
>I'm trying to use a Spell checking component that requires the HWND as the control reference to spell check on.
If we were to introduce Visual FoxBase+, would we be able to work from the dotNet Prompt?
From Top 22 Developer Responses to defects in Software
2. "It’s not a bug, it’s a feature."
1. "I thought I fixed that."
All my FoxTalk and other articles are available on my
web site.
Unless specifically identified otherwise, anthing posted here is purely my opinion and may or may not reflect the policies or practices of Microsoft.