Report question

Question: How can I stop my application from receiving a certain "message"?