Вниз
Скачать: 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.44 MB
Время: 0.026 c
1-1106744457
raidan
2005-01-26 16:00
2005.02.13
Поиск файлов размером более 2.5 Гб


11-1090947892
Андрей
2004-07-27 21:04
2005.02.13
TKOLButton + TKOLAction = EAccessViolation at 00000000


1-1107246266
Suvit
2005-02-01 11:24
2005.02.13
TMemo высота


14-1106479619
Чеширский_Кот
2005-01-23 14:26
2005.02.13
Слово о Лондоне


14-1106738265
Rule
2005-01-26 14:17
2005.02.13
Подскажите друзья ссылки на клипарты ...




   Наверх