Reputation: 1961
I'm writing a .net (3.0) program using Visual C++, when running the program on the Windows 7 jump list it only displays "XXX.exe" I want it to display the name of my application, how could I do that?
Upvotes: 1
Views: 160
Reputation: 69372
You need to get the IPropertyStore interface. This CodeProject example demonstrates creating and setting a Jump List (with its title).
CComQIPtr<IPropertyStore> pPropStore = pLink;
PROPVARIANT pv;
InitPropVariantFromString ( L"Red Text", &pv );
// Set the title property.
pPropStore->SetValue ( PKEY_Title, pv );
PropVariantClear ( &pv );
// Save the changes we made to the property store
pPropStore->Commit();
Upvotes: 1