Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SetWindowText API call not working properly in VFP3
Message
 
À
01/07/1997 08:40:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00038219
Message ID:
00038268
Vues:
44
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform