I have another question, linked to the same topic (our Rhino plugin).
This plugin is based on a ‘CDialog’ object, including various controls for
the user interface.
In our plugin, a Rhino command ("_Zoom _All _Extents") is sent when a user
action (roughly a foot pressure on our device) is exceeding a given level.
This level is set via a control (a CEdit) in the user interface.
When testing this feature, an issue appeared : if the user sets incorrectly
this level to a low value, the trigger condition is always true, and the
command ("_Zoom _All _Extents") is sent continuously.
So far this is correct.
But, when Rhino executes this command, it redraws (or it forces the redraw)
our dialog window, so that the user can’t enter a correct value for the
parameter, because the dialog is permanently refreshed.
We were unable to understand and correct this issue.
We have bypassed this issue, by adding limits on this level, changing the
trigger condition etc.
Now it works better, but we’d prefer the “_Zoom _All _Extents” command not
to cause a refresh our plugin window.
Is it possible ?
[image: 3dRudder Logo] https://3dRudder.com * Claude Boulard | Embedded
3dRudder.com https://www.3drudder.com | email@example.com
1480 avenue Armenie / Puits Morandat / Gardanne, 13120