<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
You'll need the taskbar's handle which you can get from
WidgetSet.AppHandle.<br>
<br>
<br>
uses JwaWindows, InterfaceBase;<br>
<br>
procedure TForm1.Button1Click(Sender: TObject);<br>
var<br>
i: FLASH_INFO;<br>
begin<br>
i.cbSize := sizeof(i);<br>
i.hwnd := WidgetSet.AppHandle;<br>
i.dwFlags := FLASHW_TRAY or FLASHW_TIMERNOFG;<br>
i.uCount := 0;<br>
i.dwTimeout := 0;<br>
FlashWindowEx(i);<br>
end; <br>
<br>
<div class="moz-cite-prefix">Am 12.06.2015 um 22:25 schrieb Richard
Mace:<br>
</div>
<blockquote
cite="mid:CAK+KT39DoxgdYR1k=zp3FJgy=t9m2_JSYgkpRBQPYSBYpFKGbA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif">Hi,</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif">I am trying to
work out how to flash the taskbar icon in Windows 7, like
Skype does, pragmatically. I have googled, and the closest I
found was FlashWindowEx, but that doesn't actually flash the
icon, just the form window.</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif"><br>
</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif">Any ideas?</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif"><br>
</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif">Thanks</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif"><br>
</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif">Richard</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">--
_______________________________________________
Lazarus mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a>
<a class="moz-txt-link-freetext" href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a>
</pre>
</blockquote>
<br>
</body>
</html>