Hello Craig,
Just a shot in the dark, but maybe you are using NT/XP?

My earlier posts refer and it might pay to fiddle with the mainform as observed
under tray icon:
ShowWindow(Application.Handle, SW_HIDE);
to show the window:
ShowWindow(Application.Handle, SW_RESTORE);

If that does not sort the modal form, then perhaps you could use a WinAPI call
to control the modal form show and release. The problems sometimes occur between
the translation between Delphi and WinAPI.

These types of errors are most disconcerting and I empathize with your annoyance
over  this  problem,  as it is no reflection on ones programming ability, rather
the O/S.
Alistair+

---------------------------------------------------------------------------
    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/

Reply via email to