Macer,
The window is an stand-alone app. It is an app. that checks a table for data generated by another app. if data exists "the first" app. should put itself ontop and active.
>Benn,
>
>What type of windows are they? Are they child windows within an app?
>
>Mace
>
>>Ben,
>>You could use SetForegroundWindow() but it has limitations explained in API help.
>>Cetin
>>>Macer,
>>>
>>>I have tried ShowWindow() and Setfocus() from Win32API, but nothing helps.
>>>
>>>>Benn,
>>>>
>>>>I don't know checkrun. But if you are using the 32 bit versions you could always use the ShowWindow API to activate your window.
>>>>
>>>>Mace
>>>>
>>>>
>>>>>Hi, I'm using George Tasker's IS_RUN and CHECKRUN and it works fine, but I'm just missing one thing.
>>>>>
>>>>>When using CHECKRUN to bring the wanted window in front. How do I make the window, the active window?
Benn Kjaer
MS Certified Professional - Visual Foxpro
"There is something rotten in the state of Denmark"
"Why make user-friendly programs, when there aren’t any friendly users :o)"