How to Dispaly Balloon in the system tray application?

venki's Avatar, Join Date: Oct 2006
Go4Expert Member
Hi to All,

Any one can help me, I created system tray application in vc++, I want display balloon message in the system tray icon but it's not support my OS (OS is XP Service Pack 2) then What Should I do?


Thanks to All,

With Regards
Ramana AV
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Use Display a System Tray Icon in VC++ and use a new flag (available where _WIN32_IE >= 0x0500), NIF_INFO, which lets you display a balloon tip. The text goes in szInfo and the message in szInfoTitle.
venki's Avatar, Join Date: Oct 2006
Go4Expert Member
Actually I used visual c++6.0, so It's not available _WIN32_IE>=0x0500 in ' Shellapi.h' file, that header file available structure is :
typedef struct _NOTIFYICONDATAA {
DWORD cbSize;
HWND hWnd;
UINT uID;
UINT uFlags;
UINT uCallbackMessage;
HICON hIcon;
CHAR szTip[64];
} NOTIFYICONDATAA, *PNOTIFYICONDATAA;

What should I do?
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Upgrade yourself probably. Or you can design a window which looks like balloon