469,904 Members | 2,063 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,904 developers. It's quick & easy.

Creating ActiveX control Within activeX Control

Hi,
I have created an ActiveX control using MFC activeX control wizard and added
a dialog to it.
Now on that Dialog I dragged a Button control and gave a "hello world"
message on it click. When I run the control in an activex container it works
fine.

Now I want to a Datagrid in place of this button. I have inserted datagrid
and build it I dont get any error. but when I try to open it in ActiveX
container to see the display. Im getting " Debug assertion Failed " error
with file winocc.cpp.

Summary: Can we insert ActiveX Control(like DataGrid) in another ActiveX
control. If yes, How???

Can anyone help me out.
Thanks in Anticipation.
Vinay
Nov 17 '05 #1
1 1082
I am also having similar problem in our MFC application with activex
control embedded in dialog box. I have built whole application in new
VS.NET 2003 environment and all other controls works fine other than
activex control. Thus application is giving lot f debug assertion
failed messages.

Once things which I realized is that window handle to this activex
control is null and thats where its not able to generate activex
control and throws error message. Can anyone help to troubleshoot.
Thanks.
Jitendra.

Nov 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Jeff M | last post: by
19 posts views Thread by Steve | last post: by
5 posts views Thread by jen_designs | last post: by
15 posts views Thread by Carlos Lozano | last post: by
1 post views Thread by Frank | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.