[comp.windows.ms] Windows programming question

kroont@lonex.radc.af.mil (Tom J. Kroon) (01/25/91)

     Greetings.  I am using the Windows 3.0 SDK to write a simple screen
saver as a SDK learning tool, but I have a problem.

I can't find a way to detect key strokes and mouse movement while my
application is iconized and operating (i.e. without focus).  I have
tried grabbing the proper messages, but they are only from my application.

GetInputState();  did not work either.  I need to detect motion and strokes
that go to other applications, not just mine.

This information is used to reset the blank out timer.

Thanks in advance.

reply to kroont@gw1.hanscom.af.mil

Tom Kroon (KB2ILJ)