I have a simple dialog that I open with DoModal()
INT_PTR nRet = -1;
nRet = dlg.DoModal();
and it runs, but it doesn't become visible until I press the ALT key. I'm not trapping this key anywhere. Any ideas why this might be the case?