   viewports or not
  q)with a directx c++ program, if you want to have a menu at te bottom, do you have 2 viewports or just draw to the screen at the bottom.If you use 2 viewports i notice a border comes up making it look not so good between the views. Just drawing a menu ontop of a program could be confusing to code, as the bottom area is if for a menu section and the rest is for the desired program.q) how can you enter data in the screen with a directx program 'not dxut' as this is more trouble than its worth.   
Quote:Original post by jagguyq)with a directx c++ program, if you want to have a menu at te bottom, do you have 2 viewports or just draw to the screen at the bottom.If you use 2 viewports i notice a border comes up making it look not so good between the views. Just drawing a menu ontop of a program could be confusing to code, as the bottom area is if for a menu section and the rest is for the desired program.Personally, I just render some 2D sprites over the 3D scene. It's simple, and reasonably efficient.Quote:Original post by jagguyq) how can you enter data in the screen with a directx program 'not dxut' as this is more trouble than its worth.You'd be better of with DXUT. Writing this sort of thing youself isn't fun. You'd want to respond to WM_CHAR and WM_KEYDOWN messages, and render text appropriately in your own control.   ;  I can't get dxut to work without using ts framework, I just want to add a text box on a directx/c++ prog, and I can't simply do this. I can't comprimise with the dxut framework by the looks of it.Unless anyone has simple code to show me how?