Solved

VC++ 6 ,Old version of commctrl.dll ,no NIF_INFO identified to add a Balloon tip to systray!?

Posted on 2004-10-20
3
409 Views
Last Modified: 2008-01-09
I am using VC++ 6 on WinXP Pro SP2 ,I've built this small project based on a Dialog
and it is very simple training purposed app.

The problem is this, after I've added an icon to the status bar(systray) I tried to add a balloon
using the NIF_INFO with Shell_NotifyIcon(), it didn't work, it seems that I'm running an old version
of shellapi and or shell.dll, I opened the commctrl.h header file to find out it's version is 1.2
and that the following macro is defined: #define _WIN32_IE 0x0400, whilest it should be at
leaset 0x0500 for the NOTIFYICONDATA structure to have the additional NIF_INFO.. etc. values.

My questuin is how to update this situation.

Note: I have tried the following,
#define _WIN32_IE 0x0500
#include<commctrl.h>
and the rebuild the project ...it didn't work.

I get an unidentified var error, when I also use GetDllVersion() to determine which ver. the
project is using, although I do know it's 0x0400.


If you have the answer to my querry, please do not hesitate to help me.THANX!

0
Comment
Question by:aboo_s
[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
3 Comments
 
LVL 16

Accepted Solution

by:
nonubik earned 125 total points
ID: 12359997
You need to have shell32.dll v5.0 at least
and #define _WIN32_IE 0x0500
NOTIFYICONDATA structure (and NIF_INFO, too) is in shellapi.h
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

The following diagram presents a diamond class hierarchy: As depicted, diamond inheritance denotes when two classes (e.g., CDerived1 and CDerived2), separately extending a common base class (e.g., CBase), are sub classed simultaneously by a fourt…
In Easy String Encryption Using CryptoAPI in C++ (http://www.experts-exchange.com/viewArticle.jsp?aid=1193) I described how to encrypt text and recommended that the encrypted text be stored as a series of hexadecimal digits -- because cyphertext may…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Suggested Courses

623 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