Click here to Skip to main content
15,891,828 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How define maximum time showing notifyicon showballoontip. Deufaltly is 30 seconds
Posted
Comments
[no name] 19-Sep-12 10:13am    
From the documentation, "Minimum and maximum timeout values are enforced by the operating system"

.ShowBalloonTip(int)

Where int is the number of milliseconds to show the tooltip.

http://msdn.microsoft.com/en-us/library/ms160064.aspx[^]
 
Share this answer
 
v2
Comments
[no name] 19-Sep-12 9:15am    
maximum value of this Baloon is 30 seconds. I want set more than 30 sec
Espen Harlinn 20-Sep-12 4:17am    
5'ed!
You can do something like:
C#
void Form1_Click(object sender, EventArgs e)
{
    notifyIcon1.Visible = true;
    // 60 sec
    notifyIcon1.ShowBalloonTip(60000);
}

Refer: MSDN: NotifyIcon.ShowBalloonTip Method (Int32)[^]
 
Share this answer
 
Comments
[no name] 19-Sep-12 9:16am    
this code not make delay.
Sandeep Mewara 19-Sep-12 9:17am    
This code show baloon tip for 60 sec. What other delay you are looking for?
Espen Harlinn 20-Sep-12 4:17am    
5'ed!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900