Groups > Microsoft > Microsoft Agent > keep msagent tooltip open




Re: keep msagent tooltip open

Re: keep msagent tooltip open
Wed, 23 Jan 2008 13:28:40 -080
"Leo De Candia" <ldecandia@libero.it> wrote in message 
news:47977e49$0$16039$5fc30a8@news.tiscali.it...

> is there a way to keep the agent's message opened,
> instead of being immediately closed?

If by 'tooltip', you are referring to popup tooltips that appear over the 
system tray icon, then that tooltip is controlled by the MSAgent server, not 
applications.  It disappears automatically after a timeout period that is 
configured by the user in MSAgent's global settings.  Applications don't 
have control over that value.

If, on the other hand, you are referring to the character's speech Balloon 
instead, then you can set the AutoHide bit of the Balloon's Style property 
to 0 in your code to prevent it from disappearing automatically.  You can 
set the Balloon's Visible property to False when you are ready to hide it 
yourself.  Refer to MSAgent's documentation for more details:

    --- if you are using the MSAgent client control ---

    Style Property
    http://msdn2.microsoft.com/en-us/library/ms697265(VS.85).aspx

    Visible Property
    http://msdn2.microsoft.com/en-us/library/ms695966(VS.85).aspx


    --- if you are using the MSAgent server interface ---

    IAgentBalloonEx::SetStyle
    http://msdn2.microsoft.com/en-us/library/ms697844(VS.85).aspx

    IAgentBalloon::SetVisible
    http://msdn2.microsoft.com/en-us/library/ms697613(VS.85).aspx


Gambit 

Post Reply
keep msagent tooltip open
Wed, 23 Jan 2008 18:48:58 +010
Hi,

is there a way to keep the agent's message opened, instead of being 
immediately closed?

thanks 

Post Reply
about | contact