TabControl Dialog
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
Hi Hi I have a tabcontrol on a view window. I want to show a particular tab Window which has an error because i am validating some data i am using the function void CNewForm::ShowErrorDialog(int TabNo) { TC_ITEM tci; tci.mask = TCIF_PARAM; tci.lParam = (LPARAM)m_pDlgHeader; m_MyTab.SetItem(0, &tci); CWnd* pWnd = (CWnd *)tci.lParam; pWnd->ShowWindow(SW_SHOW); } It is focussing on particular tab but not showing the window. m_pDlgHeader already created during onInitDialog() function. Please help me why it is not showing the particular tab dialog. Thanks in advance Shailesh