Message 1 of 4
Mouse cursor focus greatly affects performance

Not applicable
09-06-2008
01:56 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I am working on a large number (50000) of texts, zooming in on every single one and doing some checking/drawing. Watching the screen "blinking" I noticed a great performance difference depending where cursor's focus is.
When the focus is on the black AutoCAD area and the wheel operates the zoom (sometimes I manage to change the zoom for a fraction of a sec while the macro is running) the speed is average.
As soon as I change the focus on to the menu or docked properties bar (and the wheel isn't changing the zoom) I see a great boost in the speed in the operation of the macro.
It looks like there are some "clogging-operations" performed while the focus is in the black area and my questions is if it is possible to disable them by code (I'm guessing no) and if not is it possible to move the focus onto the menu or somewhere away from the black window (by code) to speed it up (how?).
I'm using AutoCAD 2006 and there are no forms in my macro and no I don't know if changing the focus onto the macro would also work but I'd guess yes (?)
Any input on this phenomenon greatly appreciated!
regards
simon
I am working on a large number (50000) of texts, zooming in on every single one and doing some checking/drawing. Watching the screen "blinking" I noticed a great performance difference depending where cursor's focus is.
When the focus is on the black AutoCAD area and the wheel operates the zoom (sometimes I manage to change the zoom for a fraction of a sec while the macro is running) the speed is average.
As soon as I change the focus on to the menu or docked properties bar (and the wheel isn't changing the zoom) I see a great boost in the speed in the operation of the macro.
It looks like there are some "clogging-operations" performed while the focus is in the black area and my questions is if it is possible to disable them by code (I'm guessing no) and if not is it possible to move the focus onto the menu or somewhere away from the black window (by code) to speed it up (how?).
I'm using AutoCAD 2006 and there are no forms in my macro and no I don't know if changing the focus onto the macro would also work but I'd guess yes (?)
Any input on this phenomenon greatly appreciated!
regards
simon