I am trying to create a BalloonToolTipIcon using VC++ in visual studio 2005. I am able to create a tooltip as shown in this image "http://www.c-sharpcorner.com/UploadFile/mahesh/tooltip-in-C-Sharp/Images/ToolTipImg2.jpg" but I am wishing it to be if this type "http://www.quantumsoftware.com.au/Images/Products/WindowsFormsComponents/BalloonToolTip.gif"...
I am using following code to create this tooltip. Can anyone tell me which property I am not setting properly?
NOTIFYICONDATA nidApp;
nidApp.cbSize = sizeof(NOTIFYICONDATA); // sizeof the struct in bytes
nidApp.hWnd = (HWND) hWnd; //handle of the window which will process this app. messages
nidApp.uID = IDI_SYSTRAYDEMO; //ID of the icon that willl appear in the system tray
nidApp.uFlags = NIF_INFO;
nidApp.hIcon = hMainIcon; // handle of the Icon to be displayed, obtained from LoadIcon
nidApp.uCallbackMessage = WM_USER_SHELLICON;
wcscpy_s(nidApp.szInfo, szinfo);
LoadString(hInstance, IDS_APPTOOLTIP,nidApp.szTip,MAX_LOADSTRING);
// Add the balloon tip
Shell_NotifyIcon(NIM_ADD, &nidApp); //Show the systary icon
Thanks in advance