Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting the task name instead of the window title
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00052400
Message ID:
00052569
Views:
28
>>>Another note, all FoxPro windows have the same class name: Fox_4000001.
>>
>>I noticed that in Visual FoxPro 3 but thought it was solved in Visual FoxPro 5.
>>
>>>If I were to guess at the problem you're trying to solve, I'd say it was twofold. One, FindWindow only works if you have the exact title name, and it doesn't work on child windows. Two, you're trying to get the handle of a child window. Am I close?
>>
>>What I need to do is to avoid using the Window title in order to detect at startup if the application is already running. Usually, I use a C program from the icon which is calling my VFP EXE. However, in this case, I don't have it.
>
>Michel,
>
>I've written a couple of FoxPro prgs (Is_Run for Win 3.1 and Is_Run32 for Win 95/NT 3.51 or above) which can determine whether or not a windows application is already running. They both return the window handle and only need the known part of the window title. I've been meaning to post them in the Files section, along with a README.TXT file I've written. I'll be happy to either email the file to you tonight from home or post them.
>
>Please let me know,
>
>George

You can click on the Files icon and create that new entry your self.

Vlad
Previous
Reply
Map
View

Click here to load this message in the networking platform