> You can use ShellExecuteEx instead. It returns a handle to the process, > from which you can find the main window and bring to the front.
No it wont unfortunately. If only returns a handle if a new process has been created. It returns Null, if an existing application opens it. I agree about SW_RESTORE. ---------------------------------------------------------- Phil Scadden, Institute of Geological and Nuclear Sciences 764 Cumberland St, Private Bag 1930, Dunedin, New Zealand Ph +64 3 4799663, fax +64 3 477 5232 _______________________________________________ Delphi mailing list [email protected] http://ns3.123.co.nz/mailman/listinfo/delphi
