Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with FindWindow
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00811671
Message ID:
00811718
Views:
11
>thank you for your answer, now, i was making some test and i found what
>
>*!* Its the label of my application, with this i found the window
>lnHWD = FindWindow(0,' Modulo de Inventarios - Empacamos Calidad ' )
>
>*!* with this, I try to find the window child, but i dont find it
>lnHandleWindow = FindWindowEx (lnHWD,0,'prtProduccion.txt',0)
>
>Do you know if some structure of windows of visual foxpro exists?
>
>sorry for my english! ;)

You'll have to use GetWindow() to iterate through the children. If this is from within a VFP application (prior to 7.0), load the Foxtools library and issue:
lnhWnd = _Whtohwnd(_WFindTitl('Modulo de Inventarios - Empacamos Calidad')
If you're using 7.0 or greater, the window (if it's one you've defined) has a hwnd property.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform