Q: The windows in my application are redrawing themselves very slowly. What's going on?
There can be several reasons:
Selfish Threads
It may be that one of the threads in your application is not yielding control to give other processes (and drivers) a chance to run. In polling and main processing loops, make sure to include a Sleep() call to be a good citizen in your local multi-threaded community. Even a Sleep(0) makes a difference.
Rogue Interrupts
If you've developed your own connector board, make sure to tie down unused interrupt lines (EXT_IRQn, CARDBIRQ, etc).
Too Much to Do
Your application may be performing a lot of processing, pushing the limits of the CPU. Try the suggestions in #1 to balance responsiveness of the user interface with the processing needs of your application.
If you are doing numerically-intensive operations, consider using optimizing the routines that are used most frequently. Intel offers the optimized GPP and IPP libraries for mathematical and data-intensive operations.