I'm not why you'd want to do this but here is the answer your looking for:

You essentially want to make your main form a screen saver.

The code you want to turn on this functionality is:

   SystemParametersInfo(SPI_SCREENSAVERRUNNING, Word(True), nil, 0);

and to shut it off:

   SystemParametersInfo(SPI_SCREENSAVERRUNNING, Word(False), nil, 0);

This essentially tells windows that you want to have fullscreen
control.  I know this used to work in the Win9x systems just fine. 
But for some reason I believe there is a problem, or you need to do
something extra for the WinNT systems.

Look up the command on the MSDN library to verify what it does extactly.

HTH,

Ryan.



--- In [email protected], "Chris @ IT" <[EMAIL PROTECTED]> wrote:
> Already tried that - formstyle stay on top only brings the window
above if
> the application is on the foreground; my event fires a hidden
application
> which is meant to come and cover the entire screen; of course this
> application is not on the foreground at this stage and the stay on top
> window is only on top when the parent application is also zero on zorder
> (the foreground)





-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to