. "This is because the dialog box is a window, and your CDialog-derived class must process messages from its own window and the various dialog box controls (which are child windows)." . . .