VC++ 6 ,Old version of commctrl.dll ,no NIF_INFO identified to add a Balloon tip to systray!?
Posted on 2004-10-20
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
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!