Posts Tagged ‘Add new tag’

Desktop Refreshing in .NET

Wednesday, April 29th, 2009

With this method, you can rebuild the desktop (for example, if the icon has re-positioned via code)

public static void wc_RefreshDesktop()
{
 SHChangeNotify(0x8000000, 0, IntPtr.Zero, IntPtr.Zero);
}

Happy Programming!!