Parameter comment wrong

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
User avatar
burtcbl
Posts: 24
Joined: Tue Aug 04, 2009 6:06 am

Parameter comment wrong

Post by burtcbl » Fri Sep 07, 2012 2:15 am

Just found a very small error in the comments section of the Show-NotifyIcon helper function. The comment states that the -Timeout parameter specifies the time the balloon stays visible in milliseconds. That should be in seconds. I entered 5000 for 5 seconds and the balloon never went away. I tried entering the number 5 and it disappeared in exactly 5 seconds. Just thought you might want to know.

Love your product. It's one of the best I've ever used and I've been at this business for 30 years.

User avatar
davidc
Posts: 5913
Joined: Thu Aug 18, 2011 4:56 am

Parameter comment wrong

Post by davidc » Fri Sep 07, 2012 5:12 am

I verified with MSDN and the value is in milliseconds:

http://msdn.microsoft.com/en-us/library/ms160065.aspx

It is possible the operating system is overriding your settings. There is a minimum and maximum time it could allow. For more details please refer to the Remarks section in the MSDN page.

And thank you for your kind words. We really appreciate the feedback.

David
David
SAPIEN Technologies, Inc.