473,580 Members | 2,899 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Balloon Tips

137 New Member
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
  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
If anyone can offer any advice on the matter would be much appreciated.

Kind Regards
Aug 31 '07 #1
3 4770
137 New Member
Jus nudgin this up seein if i can get a response. ;)

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

Kind Regards
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
180 New Member
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.

Sep 4 '07 #4

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

Similar topics

by: Daniel Bickett | last post by:
Hi, The truth is I despise windows xp balloon tips. Well, not so much the balloon tips, but how they're used by the operating system: like I need my system tray to tell me when there are "unused icons" on my desktop, or that "local disk" has less than 200 mb of free space. But I digress I liked the way GTray told me when I had new mail...
by: Aki Niimura | last post by:
Hello everyone, I'm encountering a weird problem and couldn't find any Internet postings that are relevant to my problem and it seems coming from the Pmw Balloon widget inside. I have developed a Tkinter software using Pmw. The software is being developed under Solaris but is targeting all
by: sanjana | last post by:
hi i want to write a C# .net code to display a balloon in the task bar i have used notifyicon class to get the icon in the task bar then i have used Shell_NotifyIcon and NotifyIconData structure for getting the balloon So now i have an icon n a balloon in the task bar But i wan tht when i click on the yellow windows balloon an event...
by: Nak | last post by:
Hi there, I've been working on sussing out the XP Balloon Tips use in VB.NET. Ive got some reusable classes on my web site and an example application. Links can be clicked and the balloon colours customized. The balloon will also disappear when the parent form moves or the parent control is clicked! Anyway, enjoy, I'm sure someone will...
by: VBTricks.de.vu Webmaster | last post by:
Hello, I'm currently trying to port a piece of code from VB6 to VB.net which enables my application to display balloon tooltips. Unfortunately it doesn't seem to work. This is the code VB: Public Class clsBalloonTips
by: Eric | last post by:
Hi, For my program I use the notification control to show the user at least an icon or if (s)he decides to, a balloon as wel with some info. In the balloon I have two linkbuttons en the problem comes when the user taps on one of them. One linkbutton is to show a form, the other is to stop the program. After tapping on STOP the...
by: MrNobody | last post by:
You know those little balloon tips that come out of your task bar- like for example when Windows warns you about window supdates being available? I'd like to create some of those from my C# app... Can you tell me how? I want to use it to notify users of an event while my program is running in the background (possibly as a service) and it...
by: kjnhu | last post by:
I am using two threads. When i start the second thread i am sleeping the first for 10 minutes. during this time, the secondary thread is going through some code which includes a balloon tip on a tray icon which was created during the first thread, but this tip isn't showing even though i know the second thread gets to the point that it should be...
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.