Re: Windows 95/NT Screen Saver in Euphoria
- Posted by Ralf Nieuwenhuijsen <nieuwen at XS4ALL.NL> Jan 02, 1998
- 761 views
[Cut out screen-saver stuff] >Yes, but..... >Bind it with Bindw only (Can't make a DOS program a screen saver). Yes, you can.. do you think windows cares that your program is dos or windows based, it just launches it. I have never tried this, but it must work.. >How do you make the screen saver properly compliant with mouse and keyboard >movement, hot spots, previews (W95) etc. All non-trivial stuff. I have never tried to make this, but windows delivers no support for this at all, so you'll have to make a program that will abort () when the mouse moves, or when a key is hit. In dos this would be fairly easy.. >And (the killer as far as I'm concerned. How do you get rid of the console >window. As far as I see in the Alpha release ( page 2 platform.doc) the WIN32 >Euphoria programs will ALWAYS have a console window associated with it. Yes, but you van give your full-screen screensaver the focus, and then the console window will be hidden, when your program looses focus, then your program will simply abort, and the console window will dissapear, I really don't think this would be a problem. BTW You could also bind it with bind (if it's dos based, but the pif of the file should make sure, that no window-key tricks are allowed (ctrl+escape, etc.) If pifs don't work, there are same ASM hackers that will turn it off (for as long as your program runs) >Ralf, did you actually try to make a screen saver. Sure you can run a bound >program from the screen saver config panel. This is NOT a screen saver. Yes, many years ago, in visual basic. It worked the same way, only I'm not 100% sure what command line options will be set, when the user needs to configure the screensaver.. (BTW It worked this way with win311, but windows is backwards compatible) >Has anyone actually had any luck. Can anyone post an example if I am wrong. Maybe in a day or two, i'll fix something up. This really isn't so hard. (BTW: The preview will just start up your program, only I do not know how to do the mini-preview in win95, but because it has to be backwards compatible I suppose the only requirement for this would be that your program is a windows(32) program..) >P.S. Check out Francis Bussiere's EW32 DLL wrappers for Euphoria. This makes >windows programming possible and fun. Yes to all, this is the way windows programming and wrappers should be done..... (It's small, clean, safe, and can be updated when the program is already in wbinded form) Ralf