Beranda > Delphi > How to flash the taskbar

How to flash the taskbar

When you need the user’s attention or would like to let him/her know a certain task is finished you may want to flash the taskbar, mainly when the application is not modal. Doing so is easy; here’s the code:

FlashWindow(Handle, True); // The current form
FlashWindow(Application.Handle, True); // The app button on the taskbar

To flash the task bar more then once just use the above code with TTimer.

Iklan
Kategori:Delphi
  1. Belum ada komentar.
  1. No trackbacks yet.

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s

%d blogger menyukai ini: