void ParentClassName::OnSelchange(NMHDR* pNMHDR, LRESULT* pResult) { // Get the number of the currently selected tab, and show it ShowWindowNumber(m_cTab.GetCurFocus()); if(m_cTab.GetCurFocus() == 1){ CModeless m_pmodeless; m_pmodeless.DoModal(); } pNMHDR = NULL; pResult = NULL; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)