View Single Post
  #3  
Old 06-28-2012, 07:35 AM
Adam.Grey Adam.Grey is offline
Member
 
Join Date: Jan 2012
Posts: 9
Actually I couldn't get vizard to respond to a resize. So I started searching for automatically resizing a hosted window and found a separate solution: involve winforms. Adapting this, I was able to get what I needed. Many thanks for pointing me in the right direction.
It now resizes, responds to input, etc etc. This method is reliant on the main window handle of the vizard process, so I regrettably can't support the console in my nicely encapsulated vizard control. It has to wait for vizard to start up the main form, so there's a quick flash of vizard's graphics window out of place.
So to anyone looking to embed a win32 application in a WPF control, I'd say just use winforms.
and I guess to answer my own original question, "nope."

Last edited by Adam.Grey; 06-28-2012 at 07:38 AM.
Reply With Quote