I've got a dialog with several largeish combo boxes in it (maybe several hundred items apiece). There's a noticeable delay at construction while these are populated (confirmed that it's them by profiling).
My initial thought was that sorting was killing it's performance, but disabling sort and using InsertString instead doesn't seem to make things much better. I hadn't thought that it seemed like an excessive number of items - is there something else I should be doing or considering here?
The MFC calls are trivial wrappers to Win32 message calls so I don't think there's any significant overhead there.
DUPLICATE http://stackoverflow.com/questions/229395/how-to-load-string-of-array-in-to-combobox-faster-in-mfc