As I mentioned in the title, I want to create C++ console application with jump list.
I searched too much websites including this website.
For example, I looked especially these websites:
Chapter 14: Adding Support for Windows 7 Jump Lists & Taskbar Tabs
Windows 7 Goodies in C++: Adding Custom Tasks to Jump Lists
But I don't still get it.
I am newbie at COM objects.
Can I do this like:
int main(int argc, char* argv[])
{
//Write something and compile!
}
Ok, I have solved my problem; but in C#, not in C++ like this:
using System;
using System.Linq;
using System.Collections.Generic;
using System.IO;
using Microsoft.WindowsAPICodecPack.Shell;
using Microsoft.WindowsAPICodecPack.Taskbar;
namespace StackOverFlow
{
class StackOverFlowJumpList
{
private JumpList StackOverFlowList;
private void StackOverFlowBuildList()
{
string StackOverFlowTask = Path.Combine(System.Reflection.Assembly.GetExecutionAssembly().CodeBase, "StackOverFlow.exe");
JumpListLink StackOverFlowLink = new JumpListLink(StackOverFlowTask, "StackOverFlow");
StackOverFlowLink.IconReference = new IconReference(StackOverFlowTask, 0);
StackOverFlowList.AddUserTasks(StackOverFlowLink);
StackOverFlowLink.Refresh();
}
}
}