Instructions:
Extract Files
Build executable, and rename file extension to .SCR.
Right click on file and hit install
Goto to desktop properties and screensaver tab, and it should be in the list. You can also change the settings to your liking.
WARNING: Don't trust my clock for the right time, cuz honestly I think it might have a little offset that gradually increases as time gos on. maybe someone can fix this, cuz I'm tired of messing with it. And I'm also tired of trying to get the preview to work so someone else can mess with it if they like.
Feedback would be great, thx.
Last edited by BakenBowl; Aug 22nd, 2009 at 10:02 PM.
Reason: UPDATE
Instructions:
Extract Files
Right click on Clock.scr and hit install
Goto to desktop properties and screensaver tab, and it should be in the list
If you want to make your own screen saver, and im not saying this is the best way to do it... Create an executable of your screen saver and rename the extension to scr
you can make a simple program that simply opens a message box showing the command parameter passed to it. This will teach you how to use the preview window and the settings button. The preview will pass you the handle of the picturebox (the image of the monitor) for drawing to, but you can also simply have your program resize its own window to fit or display "no preview available"
Finally, probably no one will ever download it. Exectuable files will for the most part be deleted by mods when found, especially if not packed with source code.
Plus, it looks like you didn't actually attach the file.
I'm sorry, i'm new to this site. I just thought i would throw in my 2 bits. Only code from now on. And thanks for the tips Lord Orwell, I was thinking maybe the settings and preview would have something to do with the parameters passed to the program.
I figured out how to use the settings and also how to get a handle to the preview window, I made my form a child of this window and set its position to 0,0 and also set the width and height to the size of the preview window, but when i view it in desktop properties it's position has a little bit of an offset. any ideas how to fix this?
I figured out how to use the settings and also how to get a handle to the preview window, I made my form a child of this window and set its position to 0,0 and also set the width and height to the size of the preview window, but when i view it in desktop properties it's position has a little bit of an offset. any ideas how to fix this?
it's most likely caused by the border of your window.