Re: [Lazarus] Flashing task bat icon orange on Windows 7

2015-06-13 Thread Michael Van Ham
On Fri, Jun 12, 2015 at 4:25 PM, Richard Mace wrote: > ​Hi, > 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. > If

Re: [Lazarus] Flashing task bat icon orange on Windows 7

2015-06-13 Thread Simon Ameis
You'll need the taskbar's handle which you can get from WidgetSet.AppHandle. uses JwaWindows, InterfaceBase; procedure TForm1.Button1Click(Sender: TObject); var i: FLASH_INFO; begin i.cbSize := sizeof(i); i.hwnd := WidgetSet.AppHandle; i.dwFlags := FLASHW_TRAY or FLASHW_TIMERNOFG; i.uC

Re: [Lazarus] Flashing task bat icon orange on Windows 7

2015-06-12 Thread aradeonas
Richard please send a screen shot for better understanding. Regards, Ara -- http://www.fastmail.com - Send your email first class -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/l

Re: [Lazarus] Flashing task bat icon orange on Windows 7

2015-06-12 Thread K. P.
I have no clue how they do this - but would suspect that they might cycle through a number of images based on a timer Date: Fri, 12 Jun 2015 21:25:02 +0100 From: richard.m...@gmail.com To: lazarus@lists.lazarus.freepascal.org Subject: [Lazarus] Flashing task bat icon orange on Windows 7 ​Hi,I

[Lazarus] Flashing task bat icon orange on Windows 7

2015-06-12 Thread Richard Mace
​Hi, 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. Any ideas? Thanks Richard​ -- __