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

[340 byte] By [AndrejJst] at [2007-12-23]
# 1
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.
n0n4m3 at 2007-8-30 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,Game Technologies: Graphics...
# 2

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++.

DanielMena at 2007-8-30 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,Game Technologies: Graphics...
# 3
i want to use win32 controls only.
DanielMena at 2007-8-30 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,Game Technologies: Graphics...