![]() |
||
| Home | SwiftForth Archive | SwiftX Archive | |

I have a copy of the professional VC5 disks, and I went exploring. I
found that the source to SCRNSAVE.LIB is included with the developer's
kit, and read it. (Sorry, I can't post it. Copyright and all that.)
However, I can tell you that the description of which messages
DefScreenSaverProc handles and what it describes as the actions it
takes are all the magic there is. It acts on those messages and no
others, and calls the default windows procedure just like any other
windows message handler if it doesn't handle it. Implementing the
message handler as described in the Microsoft documentation will be
very straightforward.
If anyone wants to do this, please post the SwiftForth code for
DefScreenSaverProc here and I will check it for problems.
Rick
On Sunday, December 22, 2002, at 07:06 AM, Elliott Chapin wrote:
>
> Interesting, and of course screensaver.f has been an essential element
> of
> what I've been doing so far, but couldn't help wondering about using
> DefScreenSaverProc as an alternative. Lately I've been wondering about
> leaving out a user timer. As it is I do the OpenGL (with motion) under
> WM_PAINT in a BEGIN/AGAIN loop which contains PAUSE. With the current
> state
> of my W98 any screensaver is liable to lock up the system (even a
> blanker
> made from the bare screensaver.f) and any of the ones W98 comes with
> for
> starters. My own toy is not too badly behaved.
>
----------------------------------------------------------------------
sftalk_at_forth.com The SwiftForth programming discussion email list
To unsubscribe, send subject "unsubscribe sftalk" to listar_at_forth.com
For help with listar commands, send subject "help" to listar_at_forth.com
Archives are located at http://www.forth.com/sftalk -- check them out!
Search the archives! Visit http://www.forth.com/search for details.
Received on Sun Dec 22 2002 - 11:43:11 PST
This archive was generated by hypermail 2.2.0 : Tue Dec 02 2008 - 03:04:28 PST