April 14th, 1999, 01:05 AM
Hi
I need to embed common Windows controls (like buttons, edit boxes, etc)
and an already available ActiveX control (like MSFlexGrid) in my own Activex
Control project. I am using MFC ActiveX control Wizard (VC++ 6.0) for development.
What I am not able to understand is that how to handle the events of such
controls. The reason is I can't include these controls using the resource
editor and I've to do it through programming (using "Create" functions). How shall I get these controls into the classwizard so that I can write event handlers for them ?
Also, in none of the web sources (in tutorials on ActiveX controls) or text books such a thing is discussed. Why ? Is it unconventional to do this ?
Please some one help ASAP.
Thanx and Regards
Natraj Nayak
I need to embed common Windows controls (like buttons, edit boxes, etc)
and an already available ActiveX control (like MSFlexGrid) in my own Activex
Control project. I am using MFC ActiveX control Wizard (VC++ 6.0) for development.
What I am not able to understand is that how to handle the events of such
controls. The reason is I can't include these controls using the resource
editor and I've to do it through programming (using "Create" functions). How shall I get these controls into the classwizard so that I can write event handlers for them ?
Also, in none of the web sources (in tutorials on ActiveX controls) or text books such a thing is discussed. Why ? Is it unconventional to do this ?
Please some one help ASAP.
Thanx and Regards
Natraj Nayak