I have am trying to implement a variation on a keypress filtering application from c++ to c#. It uses a sendmessage() call to a window to determine whether to suppress the input