The class is declared as
class CMainDlg : public CDialogImpl<CMainDlg>
I want to handle WM_PAINT at the dialog, but I can't have the parent version run as well if I just put the handler in the message map, so the controls don't get drawn. Unlike MFC where I call CDialog::OnPaint,
If I call CDialogImpl<CMainDlg>::OnP
aint, the compiler dosn't like it at all.
10x
Start Free Trial