When a dialog has controls on it, the dialog itself never gets the focus. It’s stolen by the child controls. When you press a button,
Category: MFC
A device context is a Windows data structure containing information about the drawing attributes of a device such as a display or a printer. All