Hi,
Ive got a 3d model editor wich im developing
with XNA c# development environment,
using the game window to display the wireframe mesh in 3d.
however I need to use some other windows too,
such as a Form type window wich displays lists of numerical details
about objects in the 3d view and allows objects to be selected from a list
as an alternative to selecting them on the 3d view
as they maybe underneath another object.
If I run the game from within a Form
it complains -"cant have more than one message loop"
so Ive made the form and XNA game window seperate threads,
wich works ok they both display and work ok
but I need to share the keyboard focus between the two
as I need to click on some controls on the form
but still have keyboard input accepted by the game window.
I can probably get round this by routing key input from either
thread, but I will need to process the mouse hover over a control in the
form
and look for 3d objects under the cursor in the game window
etc wich makes it more tricky.
What would be nice is if I could make the game window part of the form,
like a child control, is this possible ?
the XNA Game class seems to make a window wich has virtually
no control over how its created or any builtin functions to access the
window.
I gues the Window handle is acessable, I used to do some low level window
stuff
but its been a long time since, anyone know if this is possible or how to do
it?
Colin =^.^=