My end goal is not to embed Notepad inside of a WPF window. I am using Notepad to demonstrate this issue because I am having the same problems with Notepad that I do when I attempt to embed a Labview Virtual Instrument into a WPF window.
The primary problem I am having is that there are rendering problems with the embedded Notepad window whenever I move or maximize the window. I am looking for advice on how I can make it so that the embedded window will not have these rendering issues.
My second problem is that I would like the embedded window to take up the full size of the form whenever the form is resized. If this is not possible, I'll just prevent resizing of the WPF window.
You can download my VS2010 C# 4.0 WPF solution from here: http://rapidshare.com/files/426808705/Win32Fun.zip
View Complete Post