Changeset 1860
- Timestamp:
- 10/31/09 03:25:06 (2 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/Projects/Axiom/Platforms/Win32/Win32InputReader.cs
r1802 r1860 36 36 using System; 37 37 using System.Collections.Generic; 38 using SWF = System.Windows.Forms; 38 39 39 40 using DX = SlimDX; … … 304 305 winHandle = (IntPtr)window[ "WINDOW" ]; 305 306 307 // Keyboard and mouse capture must use Form's handle not child 308 SWF.Control control = SWF.Control.FromHandle( winHandle ); 309 while ( control != null && control.Parent != null ) 310 { 311 control = control.Parent; 312 } 313 if ( control != null ) 314 winHandle = control.Handle; 315 306 316 if ( dinput == null ) 307 317 {
