#include #pragma comment (lib, "shell32.lib") SetCurrentProcessExplicitAppUserModelId( L"Microsoft.Samples.AppId1"); TaskbarManager.SetCurrentProcessAppId( "Microsoft.Samples.AppId1"); PROPVARIANT pv; InitPropVariantFromString( L"Microsoft.Samples.AppId2", &pv); IPropertyStore *pps; HRESULT hr = SHGetPropertyStoreForWindow( hWnd, IID_PPV_ARGS(&pps)); pps->SetValue(PKEY_AppUserModel_ID, pv); WinForms: TaskbarManager. SetApplicationIdForSpecificWindow(IntPtr windowHandle, string appId) WPF: TaskbarManager. SetApplicationIdForSpecificWindow (System.Windows.Window window, string.

Download Report

Transcript #include #pragma comment (lib, "shell32.lib") SetCurrentProcessExplicitAppUserModelId( L"Microsoft.Samples.AppId1"); TaskbarManager.SetCurrentProcessAppId( "Microsoft.Samples.AppId1"); PROPVARIANT pv; InitPropVariantFromString( L"Microsoft.Samples.AppId2", &pv); IPropertyStore *pps; HRESULT hr = SHGetPropertyStoreForWindow( hWnd, IID_PPV_ARGS(&pps)); pps->SetValue(PKEY_AppUserModel_ID, pv); WinForms: TaskbarManager. SetApplicationIdForSpecificWindow(IntPtr windowHandle, string appId) WPF: TaskbarManager. SetApplicationIdForSpecificWindow (System.Windows.Window window, string.

#include <windows.h>
#pragma comment (lib, "shell32.lib")
SetCurrentProcessExplicitAppUserModelId(
L"Microsoft.Samples.AppId1");
TaskbarManager.SetCurrentProcessAppId(
"Microsoft.Samples.AppId1");
PROPVARIANT pv;
InitPropVariantFromString(
L"Microsoft.Samples.AppId2", &pv);
IPropertyStore *pps;
HRESULT hr = SHGetPropertyStoreForWindow(
hWnd, IID_PPV_ARGS(&pps));
pps->SetValue(PKEY_AppUserModel_ID, pv);
WinForms: TaskbarManager.
SetApplicationIdForSpecificWindow(IntPtr
windowHandle, string appId)
WPF: TaskbarManager.
SetApplicationIdForSpecificWindow
(System.Windows.Window window, string appId)
http://channel9.msdn.com/posts/yochay/Programming-the-Windows-7-Taskbar--Working-withApplication-ID/
SHAddToRecentDocs(SHARDW_PATH, "file.ext");
RH.RegisterFileAssociations(...);
OpenFileDialog ofd = ...; ofd.ShowDialog();
JumpList jl = ...;
jl.AddToRecent("file.ext");
http://channel9.msdn.com/posts/yochay/Programming-the-Windows-7-Taskbar--Jump-ListsPart-2/
http://channel9.msdn.com/posts/yochay/Programming-the-Windows-7-Taskbar--Using-theTaskbar-Button-Overlay-Icons-and-Progress-Bars/
http://channel9.msdn.com/posts/yochay/Programming-the-Windows-7-Taskbar--CustomPreviews-and-Thumbnail-Clips/
http://channel9.msdn.com/posts/yochay/Programming-the-Windows-7-Taskbar--TabbedThumbnails/
http://windowsteamblog.com/windows/b/developers/archive/2010/05/03/windows-7programming-guide-taskbar.aspx
http://channel9.msdn.com/posts/yochay/Programming-the-Windows-7-Taskbar--Workingwith-Application-ID/