467,075 Members | 1,032 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,075 developers. It's quick & easy.

Balloon Tips

devonknows
100+
Hi, what it is I've got balloon tips working after a lot of trial and error lol and it comes up when the application is minimized to the tray notifying the user that it has been minimized. What I want to do is add a little functionality to the balloon tip, for example like Windows Live Mail application, it has on the balloon tip.

"Click here to stop showing this message" or something or other in the balloon tip, I was wondering is there any way to do that with Visual Basic, I've got the Registry key already in place to capture it if it is clicked but I don't know how to pull if the balloon was clicked or not.

This is the code I'm using to pull up the balloon tip
Expand|Select|Wrap|Line Numbers
  1.     If Me.WindowState = 1 Then
  2.         With t
  3.             .uTimeout = 1000
  4.             .dwInfoFlags = vbInformation
  5.             .szInfoTitle = MIN_MSG_TITLE & Chr$(0)
  6.             .szInfo = MIN_MSG_STRNG & Chr$(0)
  7.         End With
  8.  
  9.     ' ok, write it to the system tray icon
  10.     If QueryValue(REGKEY, "ShowBalloon") = "1" Then
  11.         Shell_NotifyIcon NIM_MODIFY, t
  12.     End If
  13.  
If anyone can offer any advice on the matter would be much appreciated.

Kind Regards
Devon
Aug 31 '07 #1
  • viewed: 4236
Share:
3 Replies
devonknows
100+
Jus nudgin this up seein if i can get a response. ;)

Kind Regards
Devon
Sep 3 '07 #2
Ali Rizwan
512MB
Jus nudgin this up seein if i can get a response. ;)

Kind Regards
Devon
Hi
Use this thing instead of using ballons. I dontknow how to show balloons but this will help you a lot.
Tool Tip
Sep 4 '07 #3
Robbie
100+
I think you'll find this very useful.
By the way, there it's done a different way to how you do it.
I think they just act as if the icon in the systray is a form, therefore you can change its icon and respond to mouse clicks.

http://www.thescripts.com/forum/thre...3-systray.html
Sep 4 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by Daniel Bickett | last post: by
2 posts views Thread by Aki Niimura | last post: by
reply views Thread by sanjana | last post: by
3 posts views Thread by Nak | last post: by
5 posts views Thread by VBTricks.de.vu Webmaster | last post: by
reply views Thread by Eric | last post: by
1 post views Thread by MrNobody | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.