The first thing to do when you receive a user interface message is to check its UIMessage.Event property, the value of which is a UIMessageCode. Use the UIMessageCode to determine which items, if any, to update on the user interface.