Called by an EventDispatchingNativeWindow when a window message is received

- m ( Message %)
- The message to handle.
- handled ( Boolean %)
- Whether the event has already been handled. If this value is true, the handler should return immediately. It may set the value to true to indicate that no others should handle it. If the event is not handled by any handler, it is passed to the default WindowProc.