• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 372
  • Last Modified:

OCX using a dialog template

MFC 4.0,  Windows 95/NT

Is it possible to create an OCX control which will use a dialog template to render itself. If yes, is it possible for an OCX control to contain another OCX control
1 Solution
Yes. its possible. To create OCX containing other OCX yu need to make OCX as "SimpleFrame" and call AfxEnableControlContainer in InitInstance of OCX module
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now