I know that I can programmatically make a taskbar item for a certain window, it will start blinking when something changes, but is there any way that I can stop it from programming after a certain period of time, or at least is there a short-term keyboard can i give my users somehow stop blinking?
The FlashWindowEx function , which controls the flashing, takes a FLASHWINFO struct, which has a uCount field to control how many times it flashes. In addition, the possible value for the dwFlags field is FLASHW_STOP to stop flashing.
EDIT: #... P/Invoke goodness, .
, . , - .
, tasbar, NotifyIcon. - (- - , ). , .
: (1) NotifyIcon NotifyIcon notify = new NotifyIcon(); (2) (3) , , Visible (4) ShowBalloonText ( 64 )
, , / . , - "Server down down"
@thomas - , Microsoft Windows Vista ...
When the background window starts, its taskbar button is better than automatically switching to the top panel and stealing input focus, the flashing taskbar buttons are still very intrusive. It is difficult for users to concentrate when the button on the taskbar is blinking, so you should assume that users will immediately stop what they are doing to stop the blinking. Consequently, the backup taskbar flashes only for situations requiring immediate attention.
Of course, who knows who actually follows these recommendations ... or who even reads them. :)
Source: https://habr.com/ru/post/1696548/More articles:Globalization Architecture - c #How to avoid OutOfMemoryError when using Bytebuffers and NIO? - javaFailure of the .StartTime process - c #Virtual Disk Extension - virtualizationWhich 3D cards support full scene smoothing? - openglGUI tool for quick development? - user-interfaceWhat is the best way to package and distribute an Excel application - excel-vbaHow to aggregate data from SQL Server 2005 - sql-serverHow to choose a SQL database? - sqlHow can you check if two arrays are the same using CFML? - coldfusionAll Articles