🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #145

Example of Hook functions in windows proggy needed?

#145
From: Stuart Russell
Date: Fri, 31 Jul 1992 14:47
16 lines
1026 bytes
Hi folks,

Does anyone have a snippet of code for using the Hook functions in a
windows programme written for Borland C++ v3 with OWL.

I am having a go at writing a screen saver (just for fun). If I move the mouse
then everything is fine and the screen saver does NOT pop up. But at the
moment it ignores key presses. A bit undesirable for a screen saver. The Hook
functions appear to let you look at all windows messages independent of there
destination task. This may be what I am looking for.

If you have any suggestions or code snippets please drop me a spot of mail.

Many thanks,
        Stu
Technical Details
Message-ID: <5ghnb1a6@csv.warwick.ac.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!warwick!csran

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!warwick!csran
From: csran@warwick.ac.uk (Stuart Russell)
Newsgroups: comp.windows.ms.programmer
Subject: Example of Hook functions in windows proggy needed?
Message-ID: <5ghnb1a6@csv.warwick.ac.uk>
Date: 31 Jul 92 14:47:13 GMT
Sender: news@csv.warwick.ac.uk (Network news)
Organization: Computing Services, Warwick University, UK
Lines: 16
Nntp-Posting-Host: clover