mfc - Flicker between two dialogs shown one after another -
cmaindialog::dosomething() { cmydialog1 dlg1; dlg1.domodal(); cmydialog2 dlg2; dlg2.domodal(); }
the problem after dlg1 returns, parent dialog briefly shows before dlg2 displayed causing flicker. undesirable, how can rid of this? used setredraw(false)
in above function didn't help.
in resource editor, go properties cmydialog1 , make dlg1 invisible.
when ready show dlg1, use dlg1.showwindow(sw_show).
Comments
Post a Comment