I'm trying to catch penDownEvents using the sysNotifyEventDequeuedEvent 
notification to restore screen brightness.

My proc does get called, but the test below never passes.
I tried using normal priority as well as 0, to no avail.
What can be wrong?

if ( ( ( EventType * ) ( notifyParamsP->notifyDetailsP ) )->eType == 
penDownEvent )
    DimScreen( false );


Luc Le Blanc

-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to