TabControl
-
Hi All.. I am working with TabControl, where I created 3 dialog Boxes, in these three one dialog with TabControl, and remaining two dialogs with edit control. In first Tab-first dialog, Second Tab-second dialog I had created two dialogs in the OnInitDialog() function .
m_FirstDialog =new CFirstDialog(); HRSRC hResource = FindResource(g_hModule, MAKEINTRESOURCE(IDD_FIRST_DIALOG),RT_DIALOG ); HGLOBAL hTemplate = LoadResource(g_hModule, hResource); BOOL bResult = m_FirstDialog->CreateIndirect (hTemplate, this); FreeResource(hTemplate); m_FirstDialog->ShowWindow (SW_SHOW);
same code fallows for Second Dialog. Everything is fine but Problem is when I tried to send data from member variable to Control on First , second dialogs. I am not able to acces the data in editboxes in First, second dialogs from the TabDialog(tabcontrol). Can you please help me how to find the cause of this problem. Thanking You. Sheshidar