Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-24-2007, 04:26 PM
Member
 
Join Date: May 2007
Posts: 53
Default Application.SysTray.balloonTimeout

Im sorry, but i really have no idea about how to solve this problem: setting Application.SysTray.balloonTimeout cause no effect. The same with AS2: SysTray.balloonTimeout setter.
A BaloonTip always hangs about 15 seconds :-(

I use transparent mode and this code:
Code:
Application.SysTray.balloonTimeout = 3000;
Application.SysTray.balloonIcon = "info";
Application.SysTray.balloonTitle = 'Header!';
function showBaloonTip(msg) {
Application.SysTray.balloonTip = msg;
Application.SysTray.showBalloonTip();
}
if it will help to solve my problem..

Thanks in advance!
__________________
#define true false //happy debugging, friends
Reply With Quote
  #2 (permalink)  
Old 05-25-2007, 02:13 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:Application.SysTray.balloonTimeout

As the MSDN says:

Quote:
uTimeout
Union with uVersion. The timeout value, in milliseconds, for a balloon ToolTip. The system enforces minimum and maximum timeout values. uTimeout values that are too large are set to the maximum value and values that are too small default to the minimum value. The system minimum and maximum timeout values are currently set at 10 seconds and 30 seconds, respectively. See the remarks for further discussion of uTimeout.
, the minimum value of the balloonTimeout property should be 10000;
Reply With Quote
  #3 (permalink)  
Old 05-25-2007, 08:33 AM
Member
 
Join Date: May 2007
Posts: 53
Default Re:Application.SysTray.balloonTimeout

Well, maybe, some magical way to hide baloonTip exists? 10 seconds - really annoying for user..
__________________
#define true false //happy debugging, friends
Reply With Quote
  #4 (permalink)  
Old 05-25-2007, 10:26 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:Application.SysTray.balloonTimeout

You will have to first find the balloon tooltip by using the following code
Code:
var wnd = Window.find("tooltips_class32");
and then send mouse click event to the balloon tooltip
Code:
dllimport "user32.dll" stdcall Boolean PostMessageA(long, long, long, long) as user32_postMessage;

user32_postMessage(wnd.handle, /*WM_LBUTTONDOWN*/0x0201, 0, (20 << 16) | 20);
user32_postMessage(wnd.handle, /*WM_LBUTTONUP*/0x0202, 0, (20 << 16) | 20);
Reply With Quote
  #5 (permalink)  
Old 05-25-2007, 01:51 PM
Member
 
Join Date: May 2007
Posts: 53
Default Re:Application.SysTray.balloonTimeout

Thank you so much! :-)
__________________
#define true false //happy debugging, friends
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 04:19 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.