Solved

Screen Saver Description

Posted on 2001-08-23
7
221 Views
Last Modified: 2012-05-04
Hi

I have written a screen saver app. The only thing left is to get Windows to display the correct description in its dropdown list. When I go to Display Properties, Screen Saver, my screen saver is always displayed as its file name (excluding .scr).

For example, if my screen saver's file name is "HelloBob.scr" then it appears in Windows' list of screen savers as "HelloBob".

How can I give my screen saver a description that is different from its file name?  (Example: The "Beziers" screen saver's file name is actually "ssbeziers.scr".)

Thanks,
JB
0
Comment
Question by:JimBob091197
7 Comments
 
LVL 6

Expert Comment

by:MannSoft
Comment Utility
I was told to use:

{$D SCRNSAVE My Screen Saver Description}

But it doesnt seem to work on Win2k.  So either the person who told me that was wrong, or it only works on Win9x systems I guess.
0
 
LVL 8

Expert Comment

by:TOndrej
Comment Utility
http://community.borland.com/article/0,1410,26652,00.html says that it's enough to create a string resource with ID 1
0
 
LVL 8

Accepted Solution

by:
TOndrej earned 150 total points
Comment Utility
http://www.wischik.com/scr/howtoscr.html says that the above is only for WinNT. According to the article, on Win9x you should use a long file name
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 22

Expert Comment

by:mnasman
Comment Utility
maybe this link help

Coding Windows Screen Savers with Delphi.
http://delphi.about.com/cs/screensavers/index.htm
0
 
LVL 5

Author Comment

by:JimBob091197
Comment Utility
Thanks everybody for your feedback.

To Mannsoft:

I have tried using {$D SCRNSAVE My Description} but it doesn't seem to work. Based on VC++ samples I found, I have also tried the following:

{$D SCRNSAVE 'My Descrip'}
{$D 'SCRNSAVE : My Descrip'}

None of these seem to work.


To TOndrej:

Thanks for the links. I am working on Win 2000, but have 98 at home, so I will test it later on 98. It appears that Win 95 (98?) & NT (2000?) work differently, which is a pity. I have considered using the file name as the description, but I would like a space in the file name and Delphi doesn't allow a space in your DPR name, which means that I have to keep renaming the screen saver every time I do a build.

I have tested it on Win 2000 and it does indeed work if you create a string resource 1 with a string of less than 25 chars. Also it only works if your screen saver file has 8 or less chars, and it must be lower case! Strange...


To Mnasman:

I had a brief look at the link you gave, but couldn't find anything about screen saver descriptions.


Thanks,
JB
0
 
LVL 5

Author Comment

by:JimBob091197
Comment Utility
Thanks.
JB
0
 
LVL 8

Expert Comment

by:TOndrej
Comment Utility
Glad to help, thanks for the points
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now