ShellPlus
Subscribe for News:
ShellPlus
Shell+ components
    Home
    News
    Overview
    Download Shell+
    Download examples
    Flash Demo
 
Developer Tools
    Shell Reset Tool
 
Shell+ Tutorial
    Namespace Extensions
    ShortCut menu
    Property Sheet
    Icon Handler
    Thumbnails
    InfoTip Handler
    Copy Hook
    Balloon TrayIcon
    Control Panel
    Shortcut Files
    Drag&Drop Menu
    Shell Change Notify
 
Powered by Shell+
    Romeo Burner
 
Documents
    Articles Index
    Press Releases
 
Ordering
    Order now!
    Resellers network
    Partner Offers
    Resellers wanted
 
Support
    Forum
    FAQ
    Contact directly
    Source Code Area
    Issue Tracking DB
 
About/Contacts
    Shell+ Developers

We are the CodeGear technology partner

We are ISDEF member

 

 
TSxTrayIcon Usage

    Starting from the 5.0 version of Microsoft ® Internet Explorer the cartoon-style tips are available. They are known as Balloon ToolTip:

Tray Notify Icon with balloon Example
Fig 1. Balloon ToolTip example

    Shell+ allows you to use Balloon ToolTips in your application. Place TSxTrayIcon on the main form of your application. Then add ShowInfo and/or ShowCustomInfo method calls to show icon and ToolTip balloon. These two methods are considered below.

    The ShowInfo method has no parameters. It uses the following component properties:

  • InfoFlags - indicates what icon to be shown in the left top corner of the balloon. Several predefined values are available - niifError, niifInfo, niifNone and niifWarning.
  • InfoText - this property contains the text to be displayed in the ToolTip.
  • InfoTitle - value of this property will be used as a caption of Balloon. ToolTip.

   If you wish to supply all these properties in one call then use the second method - ShowCustomInfo:

procedure TForm1.Button1Click(Sender: TObject);
begin
  SxTrayIcon1.ShowCustomInfo('The Shell+ Demo','Shell+',niifInfo);
end;

        To test the example simply run it. Press the button and you will see our ToolTip:

Tray Notify Icon with balloon Example


    Use links below to download source codes of this example as well as binary files:

This example will add icon to the Windows Notification Area. Read more...

BalloonTrayIcon-D5.zip , 4/4/2007, 14Kb
BalloonTrayIcon-D6.zip , 4/4/2007, 14Kb
BalloonTrayIcon-D7.zip , 1/7/2007, 14Kb
BalloonTrayIcon-D9.zip , 2/23/2008, 14Kb
BalloonTrayIcon-D10.zip , 4/4/2007, 13Kb

  Top


Components | Download | Purchase | Support | About Us
Copyright © 2001 - 2006 Shell+ Development Group. All rights reserved.