Rendering in a window
Hello
I would like to have on the same window some buttons and other controls and rendering. One idea i have come up is rendering on texture and then copying this texture to the window. But it would seem not too good.
Is there a way to limit rendering to a specified rectangle, so it does not take all window?
AN
Hi,
in the creation of the device you have to provide a handle to the object where you want to render. I only created the device to a panel (rectangle inside a window) in c# and c++/cli, just provide the panel's handle to the CreateDevice function. In c++ should be quite similar.
i tried to create a device to a panel, but I have not been able to make it.
does somebody have a tutorial to make that in c++?
i'm using directX 9 and c++.