How to disable popup messages in Windows 8?

Those are called toaster notifications. Go to the Charms menu (Win+C) and click on Settings. There you will see a notifications icon. Clicking on it will disable all such notifications. If you want to disable notifications for specific applications only, then click on "More PC settings" which will bring you to the Metro Control Panel. There, under the Notifications bar, you can choose what notifications you want to show/hide.

If you want to turn off balloon tip notifications you need to change some DWORD values in the registry. Navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced and set/create following keys to 0:

ShowInfoTip
FolderContentsInfoTip
StartButtonBalloonTip
EnableBalloonTips