Hi All. The answer lay in the soil......Delphi 5/4 problems.
Thanks to Paul Lowman for sending me a component which raised the error problem
which is to hide the window under D4/D5:
ShowWindow(Application.Handle, SW_HIDE);
to show the window:
ShowWindow(Application.Handle, SW_RESTORE);
It was not the component, but either Delphi 4/5 or Windows XP not behaving
correctly with Windows to Tray and vice versa. I have found similar with
showmessage('this message does not show sometimes');
whereas
ShowForm('this always shows under winXP', Caption, '', uType, nil, nil, nil, silent,
poOwnerFormCenter, False, True, Screen.ActiveForm.Color, 0);
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/