Вниз
Скачать: CL | DM;

Мигание иконки на панели задач   Найти похожие ветки 

 
Vn ©   (2005-01-26 14:04) [0]

Мастера, использую функцию FlashWindow(Application.Handle,true) для мигания иконки, когда происходит некоторое событие, а форма не активна. Но вот иногда случается что стаю после єтого на форму (т.е. делаю ее активной), мигание прекращается, но цвет иконки остается синим. Как лечить? Спасибо.


 
wicked ©   (2005-01-26 16:09) [1]

выдержка из msdn, 2-й параметр:
bInvert
[in] Specifies whether the window is to be flashed or returned to its original state. The window is flashed from one state to the other if this parameter is TRUE. If it is FALSE, the window is returned to its original state (either active or inactive). When an application is minimized, if this parameter is TRUE, the taskbar window button flashes active/inactive. If it is FALSE, the taskbar window button flashes inactive, meaning that it does not change colors. It flashes, as if it were being redraw, but it does not provide the visual invert clue to the user.


то есть, чтоб "вернуть всё назад", нужно вторым параметром передать FALSE aka 0....



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.043 c
8-1098903047
Alein
2004-10-27 22:50
2005.02.13
Эффект Bevel (как в Photoshope)


14-1106241672
Denis_
2005-01-20 20:21
2005.02.13
WIndows Xp ,NTFS


1-1106937126
Saimon
2005-01-28 21:32
2005.02.13
Таблички перекодеровок.


4-1103460003
Игореня
2004-12-19 15:40
2005.02.13
Процессы


1-1106552754
kingdom
2005-01-24 10:45
2005.02.13
Построение контура кривой Безье




   Наверх