WPFfor d

Adam Wilson flyboynw at gmail.com
Wed Feb 20 08:53:22 PST 2013


On Tue, 19 Feb 2013 23:40:12 -0800, Jacob Carlborg <doob at me.com> wrote:

> On 2013-02-19 21:38, Adam Wilson wrote:
>
>> Same way games handle windows, you get the window, hijack the handle for
>> DirectX or OpenGL and then tell those toolkits what window style you
>> want. This allows the designer to choose to keep the window chrome or  
>> not.
>
> Games are usually full screen and everything is rendered in a single  
> window.
>

Sure, but the method they use to do that works just fine for this as well.  
You grab the window handle, you own the whole drawing process, you can do  
with it what you want. Windowed mode in games is quite common when  
debugging. And WPF handles multiple windows just find.

-- 
Adam Wilson
IRC: LightBender
Project Coordinator
The Horizon Project
http://www.thehorizonproject.org/


More information about the Digitalmars-d mailing list