When the screensaver tries to start up, Windows sends out a WM_SYSCOMMAND Windows Message which is of type SC_SCREENSAVE ( windows constants ) and I would assume BlitzMax is returning 0, which tells the screensaver not to start. I do this in my TV3D wrapper too, but that's not going to be used for background applications.
I post this because I can't think of any way of intercepting it with the way BMax is written, but perhaps there is a way I haven't thought of.
But I agree, it should be a flag, even if it's enabled by default. BlitzMax is going to be used for things where you want a screensaver to start.
I post this because I can't think of any way of intercepting it with the way BMax is written, but perhaps there is a way I haven't thought of.
But I agree, it should be a flag, even if it's enabled by default. BlitzMax is going to be used for things where you want a screensaver to start.