• Advertisement
Sign in to follow this  

Using an API like SDL to create a Windows screensaver?

This topic is 2214 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

How hard is it to create a screen-saver for Windows?

The reason I want to try is because Windows 7 does not support spanned desktop, so the pictures slideshow will not show dual-monitor images properly across both monitors.

Might have to get into the Windows API to get access to draw on the 2nd monitor? SDL could still handle the image loading/manipulation.

Share this post


Link to post
Share on other sites
Advertisement
It's not that hard to create a screensaver for Windows, but creating a fully compliant SDL screensaver would probably take some hackery of SDL. The reason being that screen savers are required to execute certain code as part of existing windows, for example, for screensaver previews and settings. If you search msdn.microsoft.com you can get quite a few examples, including in C#, but if you want to start from scratch you need to handle three different command line arguments: /s to start the screensaver in full-screen mode, /c to show the configuration settings dialog box and /p XXXX, to display a preview image in the window handle whose numeric value is described by the XXX.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement