In Windows 7, we have the ApplicationID concept, which allows (among other things) to group several icons in the taskbar. How can I change the ApplicationID of the current process from C #? I am trying to create a WinForm application icon group with another application. I tried using the Code Code library for the Windows API, holding the following code in the Load event ... but that didn't work. Suggestions?
TaskbarManager.Instance.ApplicationId = "MyAppID"; Process[] p = Process.GetProcessesByName("OtherProcess"); TaskbarManager.Instance.SetApplicationIdForSpecificWindow(p[0].MainWindowHandle, "MyAppID");
source share