Re: [AD] More screensaver probs |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Wed, 21 Feb 2001, Chris Jefferson wrote:
> Sorry to bother you again, but there is another small
> flaw in the scrsave.c example.
I looked at the code for the screen saver, and it does not use the special
screen saver callback. With a screen saver, you are supposed to use
ScreenSaverProc, instead of DefWindowProc to handle messages that your
program does not handle. You _could_ write a screen saver without it, but
you would have to know all the nitty gritty details of how ScreenSaverProc
work, so why bother.
I'd fix it today, but I am rebuilding my computer and my dev tools are not
installed.
I'll look at it once I get things up and running.