This post explains how to run applications automatically when certain events occur.
This post explains how to display a notification to user using SHNotificationAdd() api. The notification will show as a bubble popup and can also have an icon on the system tray.
This post explains how to create a windowed directdraw application for windows mobile.
CloseHandle( CreateThread(...) );