Bilal Anjum
2003-09-19 07:17:08 UTC
Hi All!
I am looking forward to have an idea of how to draw controls on the
CTabCtrl. One way I have in mind is draw the child controls on a separate
dialog and draw the dialog on the CTabCtrl window. But the problem is when I
do this with the code
CTestDlg *pDlg = new CTestDlg;
dlg.Create(IDC_TEST_DLG,GetDlgItem(IDC_TAB_CTRL));
it even covers the tabs. Now how can I fix it within the tab window at
appropriate place. I have tried to draw the group box on the area of tab
control and make that group box the parent window, this will make the new
dialog at the appropriate position. But I don't like this way. Is there any
other more appropriate way to do this?
Regards,
Bilal Anjum
I am looking forward to have an idea of how to draw controls on the
CTabCtrl. One way I have in mind is draw the child controls on a separate
dialog and draw the dialog on the CTabCtrl window. But the problem is when I
do this with the code
CTestDlg *pDlg = new CTestDlg;
dlg.Create(IDC_TEST_DLG,GetDlgItem(IDC_TAB_CTRL));
it even covers the tabs. Now how can I fix it within the tab window at
appropriate place. I have tried to draw the group box on the area of tab
control and make that group box the parent window, this will make the new
dialog at the appropriate position. But I don't like this way. Is there any
other more appropriate way to do this?
Regards,
Bilal Anjum