Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Two Windows taskbar tabs

edited October 2008 in General
RB Ent 11, Delphi 2007. I have an application which displays a report
designer. It was ported from Delphi 5, RB 7. When run under Vista I see
two taskbar tabs, one with the RB icon and one blank. When run under
Windows 2008 Server I see two taskbar tabs, one with the icon set for
my executable, and one with the RB icon. When run under XP, I only see
one tab, with the RB icon.

Setting MainFormOnTaskbar explicitly true or false seems to make no
difference. Any ideas to get rid of the extra icon? At one time on 2008
I somehow lost the window and clicking either taskbar tab failed to
bring it back. It came back by displaying the process window from
Process Explorer. There is only one process running.

Comments

  • edited October 2008

    There is some internal Designer Window code that creates the task bar item.
    That code has been in place for many versions. I think it was really meant
    for the case in which the designer is being used within the Delphi IDE. I
    modified it to not create the task bar item for runtime.

    You can email support@digital-metaphors.com and request a patch to RB 11.

    Your other issue, relates to recent versions of Delphi that include an
    Application.MainFormOnTaskbar boolean property. For new projects, it
    defaults to True. From the Delphi help file....

    "The MainFormOnTaskBar property controls how Windows taskbar buttons are
    handled by VCL.

    If the property is true, a taskbar button represents the application's main
    form and displays its caption. If false, a taskbar button represents the
    application's (hidden) main window and bears the application's Title.

    MainFormOnTaskBar must be true to use Windows Vista Aero effects. These
    include live taskbar thumbnails, Dynamic Windows, Windows Flip, and Windows
    Flip 3D. "



    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.