Questions: I'm using MFC CDialog/CDialogEx to show a modal dialog with DoModal.usually it works without problems, but sometimes, the dialog wont show up until I press ALT key. the scenarios is, I have a timer in the parent window, and doing some work…