><snip>
>>
>>If you pass a valid whandle, and no child exists, you get the same value back.
>
>And as you make knowing that this value is not a hwnd?
>
>example:
>
>* i'm ill-fated and :
>* the wHandle = 45678
>* next return y=45678 and it is the hwnd of the Client window !
>y= sys(2325,wHandle)
>* now how can you known that y=45678 is or is not a hWnd ?
>
>>
>
Fabio,
As I said earlier, whandles and hWnds are two entirely different things. VFP creates whandles, Windows creates hWnds. From everything I've seen, they're never the same value. It's a 1-in-2 billion chance that they would be.
George
Ubi caritas et amor, deus ibi est