<b>R</b>unning <b>HGE</b> in a child window hosted by a <b>Windows</b> application may be useful to create authoring tools and ActiveX controls or to integrate <b>HGE</b> into a third party IDE. Here follow the guidelines how to do that.
You can move and resize <b>HGE</b> window with WinAPI functions like <b>MoveWindow</b>. When it's window resized, <b>HGE</b> will reinitiate DirectX to meet new window dimensions:
<b>1. To accept keyboard events</b> in child window mode <b>HGE</b> window must have input focus. It gains focus automatically when you click somewhere inside. Use the following call to set the focus explicitly: