Where are the recent items in my Windows 7 jump list?

Posted on October 1, 2009

I just started adding support for the Windows 7 taskbar jumplist to my WPF application, using the excellent .NET wrappers in the Windows API Code Pack. After creating the jump list, file selection via the Windows common file dialogs should automatically cause entries to appear in the Recent section of the jump list. But no.  What's going on? It turns out that everything is working as expected.  However, you need to have the "recent ...

Read More


Scrolling TextBox in WPF

Posted on October 1, 2009

If you put a TextBox inside a ScrollViewer, the TextBox will take as much width as it needs, even if you set TextWrapping to Wrap.  That means that a long line of text will just stretch out to the right, beyond the right edge of the ScrollViewer, instead of wrapping. Fortunately, you can bind the Width of the TextBox to the ScrollViewer ViewportWidth.  This makes the text wrap at the right edge of the ScrollViewer.  If you hide the ...

Read More


FatalExecutionEngineError returning from WPF PageFunction

Posted on November 30, 2007

I'm posting this for future reference.  If you invoke a PageFunction and add an event handler to the PageFunction's Return event, the event handler must be an instance method of the calling page.  No other method will do.  If the event handler doesn't meet this criteria, you'll see the FatalExecutionEngineError thrown when you return from the PageFunction.  Sorry, no separation of concerns allowed.

Read More