You mean this?
Base Class:Subclass:Code:BEGIN_MESSAGE_MAP(CBubbleBaseDlg, CDialog) ON_WM_TIMER() ON_WM_SHOWWINDOW() END_MESSAGE_MAP()Originally I didn't want to have the last two messages in the sub class. Now that I posted it, is the fact that I have CDialog in the subclass message map the problem? If it was CBubbleBaseDlg, and I didn't have the ON_WM ShowWindow / timer then it would have worked?Code:BEGIN_MESSAGE_MAP(CVista7BubbleDlg, CDialog) ON_BN_CLICKED(IDC_BUTTON_BUBBLE, &CVista7BubbleDlg::OnBnClickedButtonBubble) ON_WM_SHOWWINDOW() ON_WM_TIMER() END_MESSAGE_MAP()




Reply With Quote