I'm trying to create a screensaver using managed directx, but the same
happens with the wizard generated screensaver project in VC# 2005. Any
window set to "always on top" is not getting obscured, like the standard
windows screensavers can.
I've tried setting the presentparams for the device constructor to
"windowed=false".
I've set the form property Toplevel=true, topmost=true, and called
.bringtofront().
Anybody know what I'm missing?

RE: Unable to keep form on top by mklapp

mklapp
Mon Oct 18 09:21:04 CDT 2004

Just a guess, but by setting a form to "AlwaysOnTop" would put it above the
screensaver, right?


"silent tone" wrote:

> I'm trying to create a screensaver using managed directx, but the same
> happens with the wizard generated screensaver project in VC# 2005. Any
> window set to "always on top" is not getting obscured, like the standard
> windows screensavers can.
> I've tried setting the presentparams for the device constructor to
> "windowed=false".
> I've set the form property Toplevel=true, topmost=true, and called
> .bringtofront().
> Anybody know what I'm missing?

RE: Unable to keep form on top by silenttone

silenttone
Wed Oct 20 01:17:09 CDT 2004

Correct, but screensavers get around this somehow.

-open the task manager and test one of the standard screensavers, you'll see.

"mklapp" wrote:

> Just a guess, but by setting a form to "AlwaysOnTop" would put it above the
> screensaver, right?
>
>
> "silent tone" wrote:
>
> > I'm trying to create a screensaver using managed directx, but the same
> > happens with the wizard generated screensaver project in VC# 2005. Any
> > window set to "always on top" is not getting obscured, like the standard
> > windows screensavers can.
> > I've tried setting the presentparams for the device constructor to
> > "windowed=false".
> > I've set the form property Toplevel=true, topmost=true, and called
> > .bringtofront().
> > Anybody know what I'm missing?