Jump to content
  • Advertisement
Sign in to follow this  
granat

How to name Screensaver?

This topic is 4759 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

This does not have much to do with programming but I don't know where else to post it. I notice that the built in screensavers in Windows have a name other than their file name. From where does it get this name? I want to name my screen saver with some upper case letters but this is not possible in a file name. I tried to copy one of the existing screensavers and rename it. This caused it to use the filename in the overview of screensavers. I did not find the name in the registry, at least not with spaces in it (there are spaces in the overview of installed screensavers).

Share this post


Link to post
Share on other sites
Advertisement
I haven't tested it, but MSDN talks about that you should write the name of the screen saver in the string table:

Quote:
One final requirement is a screen saver description string. The resource file for a screen saver must contain a string that the Control Panel displays as the screen saver name. The description string must be the first string in the resource file's string table (identified with the ordinal value 1).

Share this post


Link to post
Share on other sites
That does not explain why the name changed as I changed the file name. Besides I'm using C#, so I wonder if it works with .NET resource file and what if there are more than one resource file? Well, thanks for your input.

Share this post


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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!