This simple class CTBalloon which is derived from CWnd can be used to show the tray balloon similiar to the one that appears with MSN messenger. I have used the CGradiant class which appeard in the artile Enhanced ProgressBar Control v1.1 by Yury Goltsman.
The following snippet shows how easy it is to use the class and incorporate it into your applications.
CTBalloon * pballoon = new CTBalloon(150,100); pballoon->SetText("Hello World - This is a sample message"); pballoon->SetLifeTime(4); pballoon->CreateAndShow();
Please let me know of any problems or improvements. Thanks and good luck.