Good day to everyone.
I need to send notification to the user when the application is not
running in foreground to alert about activity in the application, I
would like to do it as in Skype already manages to make the icon is
flashing through the library user32.dll,
_FLASHWINFO is Structure
cbSize is unsigned int
hWnd is int // A handle to the window to be flashed.
dwFlags is int // The flash status
uCount is unsigned int // Numero de flasheo, 0 infinito.
dwTimeout is int // Retardo en milisegundos
END
FLASHW_TRAY is int = 0x2 FLASHW_TIMERNOFC is int = 0xC Pfwi is _FLASHWINFO
Pfwi:cbSize = Dimension(Pfwi)
Pfwi:dwFlags = FLASHW_TRAY + FLASHW_TIMERNOFC
Pfwi:dwTimeout = 0
Pfwi:hWnd = Handle()
Pfwi:uCount = 0
AppelDLL32("user32", "FlashWindowEx", &Pfwi)
But also wants to show me in A balloon in the same icon the number of
notifications, any ideas?
--
Jesus Madrigal
JESMAD Soluciones TICS