By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,214 Members | 2,066 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,214 IT Pros & Developers. It's quick & easy.

ActiveX control in VC++ - studio 2003

P: n/a
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

Mar 15 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.