C and C++

Moderators: None (Apply to moderate this forum)
Number of threads: 28691
Number of posts: 94711

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
screen saver in c Posted by deepak_shinde on 9 Oct 2006 at 11:32 PM
hi any one,
now i am making a clock in C. i wants to set this clock as a screen saver,how i can set it?
and second problem how we can make the EXE file? of our project means it containt only one file ,containing all code files and all necessary files?
plz help me

Report
Re: screen saver in c Posted by IDK on 10 Oct 2006 at 7:57 AM
: hi any one,
: now i am making a clock in C. i wants to set this clock as a screen saver,how i can set it?
: and second problem how we can make the EXE file? of our project means it containt only one file ,containing all code files and all necessary files?
: plz help me
:
:

Compile all C files to object files, then link them to an exe and then change the name of the exe to .scr and you got a screen saver.
Report
Re: screen saver in c Posted by stephl on 10 Oct 2006 at 8:50 AM
: : hi any one,
: : now i am making a clock in C. i wants to set this clock as a screen saver,how i can set it?
: : and second problem how we can make the EXE file? of our project means it containt only one file ,containing all code files and all necessary files?
: : plz help me
: :
: :
:
: Compile all C files to object files, then link them to an exe and then change the name of the exe to .scr and you got a screen saver.
:
Really?
There's a "Parameters..." button when you choose a screensaver from the "Display Properties" dialog box. It should open a popup which depends on the screensaver selected. Do you know what pressing this button does? I mean, what do I have to program in order to display a custom-made popup when the button is pressed and my screensaver is selected?

Steph
Report
Re: screen saver in c Posted by IDK on 10 Oct 2006 at 9:49 AM
: : : hi any one,
: : : now i am making a clock in C. i wants to set this clock as a screen saver,how i can set it?
: : : and second problem how we can make the EXE file? of our project means it containt only one file ,containing all code files and all necessary files?
: : : plz help me
: : :
: : :
: :
: : Compile all C files to object files, then link them to an exe and then change the name of the exe to .scr and you got a screen saver.
: :
: Really?
: There's a "Parameters..." button when you choose a screensaver from the "Display Properties" dialog box. It should open a popup which depends on the screensaver selected. Do you know what pressing this button does? I mean, what do I have to program in order to display a custom-made popup when the button is pressed and my screensaver is selected?
:
: Steph
:

Then you'll need to do some windows programming...

Besides the winmain func, there should be another one, that I don't know the name of. I think it's listed at msdn somewhere.

Search for it, and I think you'll find it...
Report
Re: screen saver in c Posted by stephl on 10 Oct 2006 at 12:13 PM
: : : : hi any one,
: : : : now i am making a clock in C. i wants to set this clock as a screen saver,how i can set it?
: : : : and second problem how we can make the EXE file? of our project means it containt only one file ,containing all code files and all necessary files?
: : : : plz help me
: : : :
: : : :
: : :
: : : Compile all C files to object files, then link them to an exe and then change the name of the exe to .scr and you got a screen saver.
: : :
: : Really?
: : There's a "Parameters..." button when you choose a screensaver from the "Display Properties" dialog box. It should open a popup which depends on the screensaver selected. Do you know what pressing this button does? I mean, what do I have to program in order to display a custom-made popup when the button is pressed and my screensaver is selected?
: :
: : Steph
: :
:
: Then you'll need to do some windows programming...
:
: Besides the winmain func, there should be another one, that I don't know the name of. I think it's listed at msdn somewhere.
:
: Search for it, and I think you'll find it...
:
OK, thanks.
Steph
Report
Re: screen saver in c Posted by deepak_shinde on 14 Oct 2006 at 11:06 PM
: : : : : hi any one,
: : : : : now i am making a clock in C. i wants to set this clock as a screen saver,how i can set it?
: : : : : and second problem how we can make the EXE file? of our project means it containt only one file ,containing all code files and all necessary files?
: : : : : plz help me
: : : : :
: : : : :
: : : :
: : : : Compile all C files to object files, then link them to an exe and then change the name of the exe to .scr and you got a screen saver.
: : : :
: : : Really?
: : : There's a "Parameters..." button when you choose a screensaver from the "Display Properties" dialog box. It should open a popup which depends on the screensaver selected. Do you know what pressing this button does? I mean, what do I have to program in order to display a custom-made popup when the button is pressed and my screensaver is selected?
: : :
: : : Steph
: : :
: :
: : Then you'll need to do some windows programming...
: :
: : Besides the winmain func, there should be another one, that I don't know the name of. I think it's listed at msdn somewhere.
: :
: : Search for it, and I think you'll find it...
: :
: OK, thanks.
: Steph
: hi steph
i am made the .exe and .scr file ,when we right click on this file it shows the command configure,install,test etc. but to use this command it give error "it is not supported to win32 system" .i am used the windos os and turbo C .pls give solution
-deepak

Report
Re: screen saver in c Posted by IDK on 15 Oct 2006 at 1:50 AM
: : : : : : hi any one,
: : : : : : now i am making a clock in C. i wants to set this clock as a screen saver,how i can set it?
: : : : : : and second problem how we can make the EXE file? of our project means it containt only one file ,containing all code files and all necessary files?
: : : : : : plz help me
: : : : : :
: : : : : :
: : : : :
: : : : : Compile all C files to object files, then link them to an exe and then change the name of the exe to .scr and you got a screen saver.
: : : : :
: : : : Really?
: : : : There's a "Parameters..." button when you choose a screensaver from the "Display Properties" dialog box. It should open a popup which depends on the screensaver selected. Do you know what pressing this button does? I mean, what do I have to program in order to display a custom-made popup when the button is pressed and my screensaver is selected?
: : : :
: : : : Steph
: : : :
: : :
: : : Then you'll need to do some windows programming...
: : :
: : : Besides the winmain func, there should be another one, that I don't know the name of. I think it's listed at msdn somewhere.
: : :
: : : Search for it, and I think you'll find it...
: : :
: : OK, thanks.
: : Steph
: : hi steph
: i am made the .exe and .scr file ,when we right click on this file it shows the command configure,install,test etc. but to use this command it give error "it is not supported to win32 system" .i am used the windos os and turbo C .pls give solution
: -deepak
:
:

You'll need to make it a win32 app, and that's a little harder than a normal one.

Learn the winAPI and then try again.
Report
Re: screen saver in c Posted by deepak_shinde on 16 Oct 2006 at 12:01 AM
: : : : : : : hi any one,
: : : : : : : now i am making a clock in C. i wants to set this clock as a screen saver,how i can set it?
: : : : : : : and second problem how we can make the EXE file? of our project means it containt only one file ,containing all code files and all necessary files?
: : : : : : : plz help me
: : : : : : :
: : : : : : :
: : : : : :
: : : : : : Compile all C files to object files, then link them to an exe and then change the name of the exe to .scr and you got a screen saver.
: : : : : :
: : : : : Really?
: : : : : There's a "Parameters..." button when you choose a screensaver from the "Display Properties" dialog box. It should open a popup which depends on the screensaver selected. Do you know what pressing this button does? I mean, what do I have to program in order to display a custom-made popup when the button is pressed and my screensaver is selected?
: : : : :
: : : : : Steph
: : : : :
: : : :
: : : : Then you'll need to do some windows programming...
: : : :
: : : : Besides the winmain func, there should be another one, that I don't know the name of. I think it's listed at msdn somewhere.
: : : :
: : : : Search for it, and I think you'll find it...
: : : :
: : : OK, thanks.
: : : Steph
: : : hi steph
: : i am made the .exe and .scr file ,when we right click on this file it shows the command configure,install,test etc. but to use this command it give error "it is not supported to win32 system" .i am used the windos os and turbo C .pls give solution
: : -deepak
: :
: :
:
: You'll need to make it a win32 app, and that's a little harder than a normal one.
:
: Learn the winAPI and then try again.
: now i am biginar in C i dont know about the winAPI then plz help about API,
-deepak


Report
Re: screen saver in c Posted by IDK on 16 Oct 2006 at 12:34 AM
: : Learn the winAPI and then try again.
: : now i am biginar in C i dont know about the winAPI then plz help about API,
: -deepak
:
:
:

Take a look at stobers post.
Report
Re: screen saver in c Posted by deepak_shinde on 16 Oct 2006 at 11:58 PM
: : : : : : : : hi any one,
: : : : : : : : now i am making a clock in C. i wants to set this clock as a screen saver,how i can set it?
: : : : : : : : and second problem how we can make the EXE file? of our project means it containt only one file ,containing all code files and all necessary files?
: : : : : : : : plz help me
: : : : : : : :
: : : : : : : :
: : : : : : :
: : : : : : : Compile all C files to object files, then link them to an exe and then change the name of the exe to .scr and you got a screen saver.
: : : : : : :
: : : : : : Really?
: : : : : : There's a "Parameters..." button when you choose a screensaver from the "Display Properties" dialog box. It should open a popup which depends on the screensaver selected. Do you know what pressing this button does? I mean, what do I have to program in order to display a custom-made popup when the button is pressed and my screensaver is selected?
: : : : : :
: : : : : : Steph
: : : : : :
: : : : :
: : : : : Then you'll need to do some windows programming...
: : : : :
: : : : : Besides the winmain func, there should be another one, that I don't know the name of. I think it's listed at msdn somewhere.
: : : : :
: : : : : Search for it, and I think you'll find it...
: : : : :
: : : : OK, thanks.
: : : : Steph
: : : : hi steph
: : : i am made the .exe and .scr file ,when we right click on this file it shows the command configure,install,test etc. but to use this command it give error "it is not supported to win32 system" .i am used the windos os and turbo C .pls give solution
: : : -deepak
: : :
: : :
: :
: : You'll need to make it a win32 app, and that's a little harder than a normal one.
: :
: : Learn the winAPI and then try again.
: : now i am biginar in C i dont know about the winAPI then plz help about API,
: -deepak
:
: but steph
u told for it we need API but i see a code of application i.e a game
snake plz see its code and EXE file for supporting win32 sys
http://www.programmersheaven.com/download/41610/download.aspx

:

Report
Re: screen saver in c Posted by stober on 15 Oct 2006 at 7:51 AM
This message was edited by stober at 2006-10-15 8:0:8

: hi any one,
: now i am making a clock in C. i wants to set this clock as a screen saver,how i can set it?
: and second problem how we can make the EXE file? of our project means it containt only one file ,containing all code files and all necessary files?
: plz help me
:
:

this thread also has some discussions and links about that

http://www.codeguru.com/forum/showthread.php?t=346096&highlight=screen+savers

And if you go to www.codeproject.com and search for "screen savers" you will get links to several example programs and a couple tutorials.




Report
Re: screen saver in c Posted by AsmGuru62 on 16 Oct 2006 at 4:21 AM
[blue ... just wanted to add that clock as a screen saver is not a good idea, unless you move your clock around the screen. The hour digits will pretty much burn your screen... so you in effet will have screen burner [/blue]



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.