Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SetWindowText API call not working properly in VFP3
Message
From
01/07/1997 15:33:34
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00038219
Message ID:
00038299
Views:
42
>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.

It does work with children - I did some more research - you can easily change
the title for every VFP window parent/child with SetWindowText. But - as soon
as the window gets focus, the old caption will be restored. I wonder if this
is a 'by design' bug or just a bug. Or maybe Fox needs to keep its window
titles unaltered for some kind of internal processing (sounds odd).
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform