>hi gang,
>
>I'm trying to get rid of the default report preview caption
>(Report designer - somereport.frx)
>After issuing SetWindowText(whandle, 'newcaption') for a window
>created by VFP, 'newcaption' becomes the new caption for the
>specified window as it should - but - it doesn't show up on screen.
>I tried altering the VFP desktop caption the same way and it only changed the caption on taskbar. I can change the caption for *every* other window - so it must be a VFP 3 problem. Or am I missing something here?
I don't think that this is so much VFP as it is Windows. The Report Designer is a child window. While you can retrieve its handle, neither SetWindowText nor GetWindowText work. The latter works with external parent windows, but not with children.
George
George
Ubi caritas et amor, deus ibi est