Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting the task name instead of the window title
Message
From
30/09/1997 11:30:07
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00052400
Message ID:
00052425
Views:
31
>>I grab this sample in order to detect if an application is already running by checking at the window's title.
>>
>>FUNCTION CheckWin
>>* Routine which sees if an application is active by looking for its
>>* Window title
>>* expC1 Window title
>>PARAMETER tcTitle
>>DECLARE INTEGER FindWindow in Win32API as FindWindow STRING, STRING
>>RETURN IIF(FindWindow(0,tcTitle)>0,.T.,.F.)
>>
>>However, this is not good. I would like to detect for the task name instead.
>>
>>Anyone has an idea?
>
>Michel,
>
>Do you mean class name? The task list is pretty much a list of the title text.

Yes, the class name.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform