Hi,
How to make the RadWindow flash in taskbar?
One of the popular chatting programms does that - when you get a message, it's taskbar representation turns blue. Is it possible to do the same with a RadWindow?
What I've tried so far:
first I've made the window to appear in the taskbar by adding this to xaml:
navigation:RadWindowInteropHelper.ShowInTaskbar="True"
Next i tried googling how to do that for a regular wpf window and found something like this:
http://www.jarloo.com/flashing-a-wpf-window/
this compiles nicely but doesnt work in my case even for a wpf window. However, if i use it for a radwindow by using something like this:
public static void FlashWindow(RadWindow control)
{
var window = control.ParentOfType<Window>();
window.FlashWindow();
}
I get a null pointer exception. (there is no null pointer for regular window, but it doesnt seem to be flashing either)
Anyway, I don't really mind the method, I would just like to be able to make the taskbar window flash (system flash or manual changing of the background color on the taskbar if there is such an option?)
Is it possible with a RadWindow and if so - how to do it?
Thanks.
How to make the RadWindow flash in taskbar?
One of the popular chatting programms does that - when you get a message, it's taskbar representation turns blue. Is it possible to do the same with a RadWindow?
What I've tried so far:
first I've made the window to appear in the taskbar by adding this to xaml:
navigation:RadWindowInteropHelper.ShowInTaskbar="True"
Next i tried googling how to do that for a regular wpf window and found something like this:
http://www.jarloo.com/flashing-a-wpf-window/
this compiles nicely but doesnt work in my case even for a wpf window. However, if i use it for a radwindow by using something like this:
public static void FlashWindow(RadWindow control)
{
var window = control.ParentOfType<Window>();
window.FlashWindow();
}
I get a null pointer exception. (there is no null pointer for regular window, but it doesnt seem to be flashing either)
Anyway, I don't really mind the method, I would just like to be able to make the taskbar window flash (system flash or manual changing of the background color on the taskbar if there is such an option?)
Is it possible with a RadWindow and if so - how to do it?
Thanks.