Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Other running applications?
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00699321
Message ID:
00699668
Views:
14
>>>>Could someone please tell me how I can get a handle to Word and then activate it. I've been trying to use FindWindow but that requires the exact window name.
>>>>
>>>>Thanks in anticipation.
>>>
>>>You can use Word Class instead of Window name. Like:
>>>
>>>DECLARE INTEGER FindWindow IN Win32API;
>>> STRING @lpClassName, STRING @lpWindowName
>>>pClass_name="OpusApp" &&for MS Word
>>>hWnd = FindWindow(pClass_name, 0)
>>
>>Yuri,
>>
>>Ok that looks good but what on earth is OpusApp?
>
>See fo instance, http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q104710&. There are listed many classes used for common windows applications.


Thank you all for your suggestions.
Caroline
Previous
Reply
Map
View

Click here to load this message in the networking platform