Link to home
Start Free TrialLog in
Avatar of Anwar Saiah
Anwar Saiah

asked on

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

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!

ASKER CERTIFIED SOLUTION
Avatar of nonubik
nonubik

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial