Display message for only 2-3 seconds

Hi

i want to show in my application a message for only 2-3 seconds. After this time the message must to be hide.

In this case i must use always a Timer or there is a function to display message ?

thanks