1.I am using an inhouse developed ActiveX control in MFC application.
2.I created application inserted ActiveX control, created a member
variable with that control.
3.I got respective .cpp and .h files in my project.
4.Now am trying to access pointer to that Dialog by using :
CAnalysisCtrl* pAnalysisCtrl =
(CAnalysisCtrl* )GetDlgItem(IDC _ANALYSISCTRL1) ;
but I could not get valid pointer, it is returning me NULL value in
'pAnalysisCtrl '.
Same steps I followed in VC++-6.0, It is working properly.
Please let me know why there are diff results on same code.
Thanks in advance.
Somesh
2.I created application inserted ActiveX control, created a member
variable with that control.
3.I got respective .cpp and .h files in my project.
4.Now am trying to access pointer to that Dialog by using :
CAnalysisCtrl* pAnalysisCtrl =
(CAnalysisCtrl* )GetDlgItem(IDC _ANALYSISCTRL1) ;
but I could not get valid pointer, it is returning me NULL value in
'pAnalysisCtrl '.
Same steps I followed in VC++-6.0, It is working properly.
Please let me know why there are diff results on same code.
Thanks in advance.
Somesh