Original Post
a about dilog in a mfc dialog app is modified this way. but it just show several microseconds and immediately disappear. a message loop already in app. that is main dialog DoModal(). CAboutDlg dlgAbout; CWnd *c = AfxGetMainWnd(); dlgAbout.Create(IDD_ABOUTBOX,c); dlgAbout.ShowWindow(SW_SHOW);