You can use the GdiFlush API to improve performace slightly.