Go4Expert

Go4Expert (http://www.go4expert.com/)
-   MFC (http://www.go4expert.com/forums/mfc/)
-   -   How to Dispaly Balloon in the system tray application? (http://www.go4expert.com/forums/dispaly-balloon-tray-application-t1767/)

venki 31Oct2006 16:55

How to Dispaly Balloon in the system tray application?
 
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 31Oct2006 19:10

Re: How to Dispaly Balloon in the system tray application?
 
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 2Nov2006 11:10

Re: How to Dispaly Balloon in the system tray application?
 
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 2Nov2006 12:15

Re: How to Dispaly Balloon in the system tray application?
 
Upgrade yourself probably. Or you can design a window which looks like balloon


All times are GMT +5.5. The time now is 14:04.