Gary,
Now I get it! You didn't mention the DECLARE ... in WIN32API step. This code sample doesn't work without it, of course. It's hard to keep track of all these functions and commands, since there not documented in one place.
Mike
>>Gary,
>>
>>I don't know where you got this code sample, but it doesn't look right. The VFP API function names start with an underscore, e.g. there's a _FindWindow API function. There's a SHOW WINDOW command (space between words), and there's a ShowWindow property for forms and toolbars. To get help on a specific property or method, you can right click on the Property sheet if you're using the Class Designer or Form Designer. If you spell them right, all these things are easily findable in the VFP online help.
>>
>>Mike
>>
>>>I can't seem to find help or documentation on:
>>>
>>> =BringWindowToTop(FindWindow( 0, 'WindowName'))
>>> =ShowWindow(FindWindow( 0, 'WindowName'),3)
>>>
>>>Gary
>
>Michael
>
> Those functions do work and I am not using a custom library. I
>got them from someone on this forum.
>
>Gary