Progress bar of process

Hello,

What is the best way to show the user a progress bar without having my AddIn slowing down to update the UI?

I have process that can take a lot of time (1min to 1 hour on very large assemblies) and the user must know the status.

Thanks,

Bnaya Livne

SolidworksApi macros