1

I'm really new to this so this is probably a very simple thing to answer but anyhow... I need to use the method in the title to set a new jumplist for my windows form app, but i don't know what parameters it takes and where to get them. I've read about the method in the MSDN library but their example only worked for a WPF app.

It says it takes the parameters:

application
Type: System.Windows.Application
The application associated with the JumpList.

value
Type: System.Windows.Shell.JumpList
The JumpList to associate with the application.

What i need to know is: What is the first parameter? And how to i access it in a win form app?

(In a WPF i would usually just write App.current, but it doesn't work for form apps)

I'm using Visual Studio 2010 Ultimate (C#).

Thanks in advance!

SimplyZ
  • 875
  • 2
  • 8
  • 19

1 Answers1

1

I don't believe there is a comparable object in WinForms to the WPF System.Windows.Application object. As you'll notice, the System.Windows namespace is specific to WPF.

I have seen this this Windows API CodePack project referenced and it may be another place that you can find more information to continue your endeavors.

Dave White
  • 3,417
  • 1
  • 17
  • 24