Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Get tooltop from tray icon

Posted on 2006-07-17
12
Medium Priority
?
177 Views
Last Modified: 2010-04-30
how can i get (read) the tooltip from the tray icon from an other program?
0
Comment
Question by:Mark_FreeSoftware
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 6
12 Comments
 
LVL 9

Expert Comment

by:Rob_Jeffrey
ID: 17138369
Usually the text that pops up when you hover over an icon that is beside the clock is generated during a mouse move event.

There is no standard way - like VBs ToolTip property - to have this effect on tray icons.  As a result - there is no standard way to collect this data from a program.
It is probably different between each and every program.

Perhaps there is another way to gather this info.  What program are you trying to get data from?  What data do you want - perhaps you can get it through an API call directly yourself.

Rob.
0
 
LVL 9

Accepted Solution

by:
Rob_Jeffrey earned 2000 total points
ID: 17138408
Geeze - check this question out http://www.experts-exchange.com/Programming/Programming_Languages/Visual_Basic/Q_21922224.html

This may be what you are after if it is stored in the registry.
0
 
LVL 13

Author Comment

by:Mark_FreeSoftware
ID: 17138504

i want to read the number of email messages from gmail notifier

gonna take a look at that link
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 13

Author Comment

by:Mark_FreeSoftware
ID: 17149549

that registry value is not updating,

it says no unread messages for gmail notifier, even if i received 16 emails
0
 
LVL 9

Expert Comment

by:Rob_Jeffrey
ID: 17149619
I don't know what program updates it or if you can tell the software (whatever it is) to update before you read the registry key.
Does GMail offer POP3 access to the mail boxs?
0
 
LVL 13

Author Comment

by:Mark_FreeSoftware
ID: 17149667

>>I don't know what program updates it or if you can tell the software (whatever it is) to update before you read the registry key.
i did look at it in regedit, and it did not change

>>Does GMail offer POP3 access to the mail boxs?
yeah, but i thought it was maybey easier to read the tooltip from the gmail notifier (i have it running all the time)
0
 
LVL 9

Expert Comment

by:Rob_Jeffrey
ID: 17151229
Probably a dumb question, but did you refresh (F5) the view of the registry key if you used regedit.exe to see the key?
I havn't tested this out so I don't know - I didn't know about the key until I came across it in the other question.
Unless that key does work - the easiest way to determine how many messages (if any) you have in your GMail account would be to log in to the POP3 server and get a count.  Trying to find out how to talk to the program that runs beside the clock could be a lengthy hack unless it is well documented some where.
0
 
LVL 13

Author Comment

by:Mark_FreeSoftware
ID: 17155713

it isnt a dumb question, but i tried already

since i know the name of the exe, (gnotify.exe) i can find the handle to it

is it possible to make some use of this?
0
 
LVL 9

Expert Comment

by:Rob_Jeffrey
ID: 17155728
Unless the application provides an interface for the data you are looking for you will need to find a way to forcefully pull the data out.

In your situation - I recommend logging into the POP3 server and getting an email count that way.
0
 
LVL 13

Author Comment

by:Mark_FreeSoftware
ID: 17155980

too bad :(

//

thanks for your help

i'm going to award points to your second comment, because it is indeed the data i asked for
that windows doesnt update properly isnt your fault


mark
0
 
LVL 9

Expert Comment

by:Rob_Jeffrey
ID: 17156406
http://vbaccelerator.com/codelib/submit/e-checker.zip

Here is a working VB program that does what you seem to want.
(Code and all)
0
 
LVL 13

Author Comment

by:Mark_FreeSoftware
ID: 17157859

it doesnt work


i just discovered gmail uses ssl
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Suggested Courses

704 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question