This is not answer for that what are you asking for...
JUST a SUGGESTION! And wondering...
Why don't you use FoxHWND control?
Why you need a HWND to a "Label"?
Check GetFocus() API function if you are using VFP 6.0 or prior, and do not have hwnd property to forms.
Zlatin Zlatev,
MCSD (VS6)Make solutions, not programs!