I'm using the SpaceMouse in a MDI application.
Now I get the events only in the first window.
I how can I get the events also in the other windows of my application.
Thanks for helping me in advance.
MDI application
Moderator: Moderators
Hi crack1811,
Which API are you using?
If you are using the C/C++ SDK (not 3DxInput), you can register each MDI window (CView?) with the driver. That involves calling SiOpen with each MDI window handle. Or, you can modify your messagemap to route the events where ever you want inside your app. The events will be sent to whichever window is passed to SiOpen.
If you are using 3DxInput (TDxInput.dll), you may have to be concerned with which message pump is running.
Jim
3Dx Software Development
Which API are you using?
If you are using the C/C++ SDK (not 3DxInput), you can register each MDI window (CView?) with the driver. That involves calling SiOpen with each MDI window handle. Or, you can modify your messagemap to route the events where ever you want inside your app. The events will be sent to whichever window is passed to SiOpen.
If you are using 3DxInput (TDxInput.dll), you may have to be concerned with which message pump is running.
Jim
3Dx Software Development