I would like to get permanently rid of the popup menu appearing when pressing left button of my Space Navigator mouse while my application is running, and I'd like to disable this menu programmatically, from within the application. I want to use the left button in my application, and this menu doesn't allow to capture events for this button...
I've tried to call SiSetUiMode with SI_UI_NO_CONTROLS, but it doesn't seem to do anything...
Am I misusing this call ? Is the call only to be used to display/remove the popup, or to allow/inhibit it ?
And a side question about this routine. The doc says to call SiSetUiMode before calling SiOpen, but as SiOpen returns the device handle that has to be given to SiSetUiMode, the device handle is only available after the call to SiOpen... I'm a bit puzzled
In the demo programs, the SetUiMode is called before SiOpen, and the device handle is uninitialized at the time of call to SetUiMode...
Thanks for any light.
François
