Link to home
Start Free TrialLog in
Avatar of Bocian
Bocian

asked on

Shutting down the Screen Saver

How can I shut down running screensaver from within my Delphi 2.0 application? And how can I bring my application's main window above all other running applications? (Just once, not with fsStayOnTop - neither Show nor BringToFront doesn't work)

Thanx a lot...   Bocian
Avatar of Bocian
Bocian

ASKER

Adjusted points to 99
ASKER CERTIFIED SOLUTION
Avatar of sperling
sperling

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Bocian

ASKER

Thanks, but how'bout the second part of my question? How to put the app's form above all others? Please, help...  Bocian
Hmmm...

Have you tried

  Application.Restore
or
  Application.BringToFront?
or
  ShowWindow(Application.Handle, SW_SHOW)
or
  ShowWindow(Application.MainForm.Handle, SW_SHOW);


Regards,

Erik.