Add a demo function for ShowMessageHandler.