To work around a problem with a CDialog being minimized when main window was minimized I decided to try using a CWnd instead. That works but now t
CDialog
CWnd