A customizable popup dialog that will look like Zone Alarm / MSAS taskbar alert dialogs.
A simple C++ class that exposes following interface:
*) width of the window
*) height of window
*) time for the message to be displayed
*) delay for animation, how fast the window opens and closes
*) rectangle in the window where the message will be displayed
*) parent window
*) background color
*) font title color/font
*) frame color
*) main text color/font
Methods (non-blocking and blocking):
PopupAlert( bool blocking, string caption, string text )
OnClose( bool bForcedByUser )
OnClickHyperLink( string uri, string caption )
Must offer an option to close the window while it’s been displayed.
Non functional requirements
*) Must be a Win32 API based class. That’s it – it should not depend on MFC or anything else.
*) Compiler – [url removed, login to view] 2003 / VS 2005
*) It should not use more than two threads to perform the work.
*) Must offer an ability to display hyperlinks and open them in the Internet browser
*) Should handle two alerts that are being displayed almost simultaneously by making sure that the user would see both of them without waiting too long
*) Full source code must be provided as well as a tester app.
For a simple sample see:
MSN Messenger type status bar popup message box
[url removed, login to view]