i can show an icon on notify area:
NOTIFYICONDATA NID;
//on main
NID.cbSize = NOTIFYICONDATA_V2_SIZE; //if i use the NOTIFYICONDATA_V3_SIZE
//the compiler enters on conflits
NID.hIcon = test2;
NID.uCallbackMessage = WM_USER + 1;
NID.hWnd = a;
NID.uID = 01;
NID.uVersion=4;
NID.uTimeout=500;
NID.dwInfoFlags = NIIF_INFO;
strcpy(NID.szInfoTitle, "Test Title");
//NID.hBalloonIcon=(HICON)test2;//no member
strcpy(NID.szTip, "System Tray Icon: Hello World");
NID.uFlags = NIF_TIP | NIF_ICON | NIF_MESSAGE | NIF_INFO | 0x00000080;
//how i show the icon:
Shell_NotifyIcon(NIM_ADD , &NID);
the icon and tooltip are showed, but not the ballon :(
what i'm doing wrong?