Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Handling Windows
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00085993
Message ID:
00086000
Views:
34
>I am attempting switch from Fox (5) to Word95. The main problem I have encountered is MS Word's window handle. Can anyone help me by telling me of a way to discover MS Word's Window Handle?
>
>I have tried using 'lnHandle = FindWindow(0, "Microsoft Word")' I have found this to be an inaccurate method as Word often displays the name of whatever document is open at the time eg. 'Microsoft Word - Document1'
>
>Any ideas will be greatly appreciated.

Ben,

There's a file in the Files Download section (Win 32 and other APIs) that will return the window handle based on the known portion of the title bar (e.. Lg. "Microsoft Word") Look for "Is a Windows Application Running"

hth,
George

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

Click here to load this message in the networking platform