Applies to
ObjectARX, .NET and ObjectDBX modules
If the application must perform an operation that takes longer than a fraction of a second, then it should do the following to avoid user confusion and frustration:
- Visibly indicate that the application is making progress and is not hung. You can use a visual cue such as an hourglass cursor, or make use of AcDbHostApplicationProgressMeter.
- If the operation can be aborted, design it to regularly poll for user input via AcDbHostApplicationServices::userBreak(), and to abort in a reasonable manner when it returns true.