Igor Lankin
Igor Lankin

Reputation: 1486

Screensaver Hides Desktop

we would like to build a screensaver that shows the desktop and the running applications but prevents user input by showing the login screen. The idea was to build a windows app with no window or a transparent window. However, as soon as the screensaver gets activated the desktop and all applications are hidden from the screen.

Is it possible to start the screensaver without hiding the desktop?

Thx,

bja

Upvotes: 1

Views: 730

Answers (4)

Cerebrate
Cerebrate

Reputation: 1391

As an alternative suggestion, you could always use a service (or background app) to gather the information you want these monitoring tools to display, or even just to grab periodic screenshots of the (hidden) desktop, and then have your screensaver query that app to get the data it needs to display.

That way, you get the benefit (the secure desktop, the usual Windows login sequence, etc.) of a screensaver, but still get to display what you need to.

Upvotes: 0

Aaron Butacov
Aaron Butacov

Reputation: 34327

You are better off just creating a full-screen application with a transparent window that starts up on a timer like a screensaver. The screensaver functionality while similar to what you are doing, functions much differently.

Upvotes: 1

JAB
JAB

Reputation: 21079

Is it possible for you to implement this as something other than a screensaver? I'm assuming that the Windows API does have a method that allows you to tell how long the computer has been idle (otherwise, how does the stuff that manages screensavers do it?), so if you use that you could just set up your application such that it's continuously running as a background process, and will pop up a modal dialog box (or your idea of a transparent window) or something that prompts for the user's login info when the computer has been idle for a certain amount of time.

Upvotes: 1

taylonr
taylonr

Reputation: 10790

Why can't you just grab an image of the screen when the SS kicks off. Then use that as the backdrop of your SS.

Vista has a bubbles screen saver that just starts putting bubbles on the screen. Not sure how they do it.

Upvotes: 1

Related Questions