Bram,
My guess is the ActiveSettings you are using is your own dialog. Then
your dialog goes away and your updated boundary is lost. You may want
to wait to let activation go back to where it was before you make the
change. Or if you want it to be global you could hook the
Application.OnSetFileActivate event so any time a new set file loads you
could set the boundary to your liking.
Doug
On 10/21/2010 1:05 PM, Bram Duvigneau wrote:
Hi all,
I'm writing a little script to change the mouse boundary using a
dialog that contains a listbox. The advantage is that you can easely
select one of the mouse boundary settings by first letter navigation
instead of going around the mouse rotor.
However, When I change the mouse boundary when the dialog closes using
the ActiveSettings object, the change is not made active. The strange
thing is, that setting the mouse boundary works when I do it using the
immediate window script and without a dialog.
What's going on here? Is ActiveSettings reset when my dialog closes
and the focus switches back to the application? Any thoughts on how to
solve this?
Bram