>>
>>George, I started from this point (even before replying to Cetin) and got an error that _WFindTitle not found (other _W... worked). Strange, eh:)
>
>Ed, as a matter of fact it happens to me too when working with these functions. However, it's because we've added an "e" that doesn't belong. _WFindTitl() works just fine. And I just noted that I did in my sample, so it should be:
>
>
>FUNCTION IsDocked
>
>LPARAMETER pcToolBar
>
>LOCAL llresult, lnwhandle, lnhWnd,;
> lnHeight, lnTop, lnLeft, lnBottom, lnRight
>llresult = .T.
>lnwhandle = _WFindTitl(pcToolBar)
>IF lnwhandle > 0
> lnHeight = _WHeightp(lnwhandle)
> lnhWnd = _WhTohWnd(lnwhandle)
> STORE 0 TO lnTop, lnLeft, lnBottom, lnRight
> = _GetWRect(lnhWnd, @lnTop, @lnLeft, @lnBottom, @lnRight)
> llresult = (lnHeight = lnBottom - lnTop)
>ENDIF
>RETURN llresult
>ENDFUNC
>
>
>I go through phases where I leave off things. Now I'm adding them when they shouldn't be there. I'm blaming it on old age. :-)
It's with 'e' in Help file even. OOO..! I make a note.
Thanks, George!
Edward Pikman
Independent Consultant