Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2005.02.13;
Скачать: 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 вся ветка

Текущий архив: 2005.02.13;
Скачать: CL | DM;

Наверх




Память: 0.46 MB
Время: 0.029 c
1-1106921084
Chlavik
2005-01-28 17:04
2005.02.13
Системная функция IntfCopy


1-1106998266
Antonn
2005-01-29 14:31
2005.02.13
Утечка памяти


1-1107059167
ТехникПТО
2005-01-30 07:26
2005.02.13
Хранение данных


14-1106497055
Guru1
2005-01-23 19:17
2005.02.13
Работа Раблта Работа


14-1106582077
netnetnet
2005-01-24 18:54
2005.02.13
.net