Using NotifyIcon with Balloon Tooltip in VB6?

Z

zacks

I know this is the DOTNET VB newsgroup, but I have a problem with a
VB6 program and the VB6 newsgroup isn't very active, and I figure most
readers here are probably familiar with VB6. (I know the simplest
thing to do would be to re-write it in .NET, and I'd love to do that,
but my boss ain't gonna let me go that far just now.)

Every example I can find of how to use the Shell_NotifyIcon API call
only shows the NOTIFYICONDATA structure down to the szTip member. I
need to modify a VB6 tray application to popup a Balloon style
tooltip. I have added the additional members to the NOTIFYICONDATA
structure to include the Info and InfoTitle members.

I Or the NIM_INFO constant to the uFlags member and set null
terminated values for the Info and InfoTitle members, but I do not get
any tooltip at all.

Also, the VS2003 example I am working from (from CodeProject) causes
the balloon tooltip to popup without moving the mouse over the notify
icon, which is also what I would like to do.

Can anyone either tell me what I am doing wrong, or maybe point me to
some sample VB6 code that employes the balloon tooltip type?

Any help will be appreciated.
 
C

Cor Ligthert[MVP]

Zack,
program and the VB6 newsgroup isn't very active, and I figure most
readers here are probably familiar with VB6.

Strange the newsgroup

microsoft.dotnet.vb.general.discussions

is still one of the most active newsgroups.

Your attempt that most readers here are familiar with VB6 is in my idea not
true.

A lot of us have (as they did it) used it for the last time about 6 years
ago.

Cor
 
Z

zacks

Zack,


Strange the newsgroup

microsoft.dotnet.vb.general.discussions

Hmm, according to Google Groups group search, there is no such
newsgroup.
is still one of the most active newsgroups.

Your attempt that most readers here are familiar with VB6 is in my idea not
true.

Apparently so, judging from the lack of response.
 
C

Cor Ligthert[MVP]

microsoft.dotnet.vb.general.discussions

Sorry it is seldom there one discussion however the name is


Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top