Adding ActiveX control in ActiveX control Project
-
hi I am developing an ActiveX control in which i have placed a dialog box and and on that dialog box there are some controls like button control,edit control etc (its working fine). But when i add registered controls like flex grid control (from project>Add to project...>components and controls ...) on the dialog, the dialog box's m_hWnd member becomes NULL. Does any one know how to solve this problem.its urgent please. regards Azam
-
hi I am developing an ActiveX control in which i have placed a dialog box and and on that dialog box there are some controls like button control,edit control etc (its working fine). But when i add registered controls like flex grid control (from project>Add to project...>components and controls ...) on the dialog, the dialog box's m_hWnd member becomes NULL. Does any one know how to solve this problem.its urgent please. regards Azam
-
Does your ActiveX control assert failure with a message saying "An unsupported operation was attempted"? I had a similar problem and solved it by using AfxOleInit instead of CoInitialize(NULL).
thanks Herbert now its working fine :)