Page 1 of 1

Ability to flash in the task bar?

Posted: Mon Mar 28, 2011 9:05 am
by Carl Johnson
Is it possible to flash a window in the task bar from JADE?

I would like to draw the Users attention to the application if it does not have focus.

Re: Ability to flash in the task bar?

Posted: Mon Mar 28, 2011 9:24 am
by torrie
You should be able to use the Windows API functions FlashWindow (http://msdn.microsoft.com/en-us/library ... S.85).aspx) or FlashWindowEx (http://msdn.microsoft.com/en-us/library ... S.85).aspx)

You can get the window handle from Jade using the getHWND method.

Re: Ability to flash in the task bar?

Posted: Mon Mar 28, 2011 8:12 pm
by Dr Danyo
I've used the api's myself and can vouch for them, work a treat.