PopupAlert 2
PopupAlert 2 allows you to display popup alerts
similar to those used in Microsoft® Windows Messenger and Office
2003, using a variety of different styles.
Two components are included in the library, a class and a control. You
can use the class, PopupAlert, if you wish to display
events from within an object which doesn't support controls, such as
another class. The control, PopupAlertCtl, is simply a wrapper for
PopupAlert which includes design time support and can be
easily dropped onto a form, without having to create a reference
to the core class.
Download the free evaluation
version and run up the provided demonstration for a full guided tour
of the PopupAlert functionality in action.
Feature
Summary
- Background styles - select between a
solid color, two different gradient styles, or a picture background
- Border styles - choose between a range of border styles
for your alerts
- Logo image - as well as a Picture
property for the background, there is also a Logo property, allowing an
optional foreground image to be displayed
- Button support - an alert can display Close and
Option buttons via the new ShowOptionButton and ShowCloseButton properties.
You can determine when these buttons are clicked via the OptionClick and
CloseClick events.
- Alignment control - Picture and Logo
images and Alert and Action text can all be positioned in one of 9 regions in
the popup. The Picture and Logo can also be tiled across the background using
the PictureAlignment and LogoAlignment properties
- Size, Location and Timeout -
you can customize the alert to the size you wish to use, choose the position
to display the alert and control the timeout delay before the alert closes by
itself (and raising the Timeout event in the process)
- Colors - complete control over the
background, foreground and image mask colors
- Mouse Cusor - using the MousePointer
and MouseIcon properties, you can customise the cursor of the alert
- Scroll Style - choose whether the alerts should scroll or
fade into view
- Draw - the Draw method will draw the alert onto any hDC,
useful if you wish to implement your own custom alerts in containers
Office 2003 Style
- Alpha blended fade-in and fade-out
- Actions and close buttons in the top right corner
- Drag bar and AutoRemember for re-positioning of the popup
Full OwnerDraw support
The new OwnerdrawMode property allows you to draw alerts in precisely the way
you wish. Several different modes are provided, such as drawing only the
background, or only the foreground. In addition, a post draw mode allows the
alert to be drawn, then your own customizations applied on top.
Full
demonstration and on-line help

The control
setup package comes complete with a full context sensitive online help file and
a detailed demonstration project.
The PopupAlert
2 demonstration project, included in both source and
compiled form, illustrates the entire range
of control functionality and
programmability.