Вниз
Скачать: 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.059 c
4-1103896059
korvin
2004-12-24 16:47
2005.02.13
Помогите найти фокус


11-1090485467
DJ DIZzY
2004-07-22 12:37
2005.02.13
Странный и обидный глюк :(((


3-1105635464
misha_gr
2005-01-13 19:57
2005.02.13
проблемка с TADOQuery


3-1105693674
Vantage-10
2005-01-14 12:07
2005.02.13
Подсчет количества записей по значениям


14-1106750227
Гамлет
2005-01-26 17:37
2005.02.13
Где можно посмотреть исходники интернет-магазина?




   Наверх