Subj : Re: Dialog painting To : borland.public.cpp.borlandcpp From : Jogy Date : Mon Mar 21 2005 11:33 am Betkro wrote: > Hi, > I have a slow processing function in a dialog that begins after a MessageBox > confirmation. The MessageBox and overlapped region are repainted after the > function ends. Now, how can I repaint the dialog window before that? . > Thanks, > betkro > > Hello, You could call a function to process the windows messages during your slow function. The exact function depends on the platform and framework. Also, you can consider running the slow processing in a separate background thread. Jogy .