ActiveX control in VC++ - studio 2003

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Shrii

    ActiveX control in VC++ - studio 2003

    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

Working...