Hello,

I am still trying to figure things out here. Is it possible to implement the following:
I want to have a separate thread that does all of my Direct2D drawing to a memory bitmap, this will be implemented in a C DLL. On my main UI thread there will be a timer that will display that memory bitmap to a WPF window at 20 to 30 fps.
I have a lot of drawing that needs to be done dynamically and I don't want the main UI blocking on me when someone clicks a menu and the drawing stops. I am very new to WPF but I've tried some stuff with XAML and other approaches and it is too slow. Can this approach be done? Is there a better way? Also, the drawing routine is too much to handle in the timer event.

Thank you.