I've been working on a Qt C++ application that deals with video processing. It usually takes a long time so that user would start the process and minimize the window to wait.
Now I'm encountering the problem that user cannot be alerted when the process is finished. I can show a QMessageBox within the application in the foreground. However there is no message that can actively notify the user when he minimizes the application and works on other stuff.
This notification doesn't have to be a pop-up. It could even be blinking in the taskbar. Any suggestions would be appreciated.
Thanks in advance!
EDIT:
I appreciate every one's quick and detailed response. QMessageBox and QSystemTrayIcon are two possible solutions. I do partially solve my problem by the following code:
HWND hHandle = FindWindow(NULL,L"nameOfYourApplication");
FLASHWINFO pf;
pf.cbSize = sizeof(FLASHWINFO);
pf.hwnd = hHandle;
pf.dwFlags = FLASHW_TIMER|FLASHW_TRAY; // (or FLASHW_ALL to flash and if it is not minimized)
pf.uCount = 8;
pf.dwTimeout = 75;
FlashWindowEx(&pf);
This will flash the taskbar. Once again, thanks so much for every one involved in this!