MFC dialog close issues -
MFC dialog close issues -
good day! have mfc dialog progress. dialog automatically closes after reaching 100% using postmessagew(wm_close). problem is, when, during progress, i'm moving dialog on screen, dialog not closing , wm_close message ignored. suggestions? thanks.
for modal dialog shouldn't need utilize wm_close message.
normally you'd utilize ok or cancel button events close it, phone call enddialog method functional code or homecoming when processing finish (assuming process run dialog initialised). can set homecoming value @ same time e.g. enddialog(2);.
either way dialog close 1 time th current message handler returns, there delay, in closure shouldn't much.
mfc modal-dialog
Comments
Post a Comment