Solved

OCX using a dialog template

Posted on 1997-07-26
1
349 Views
Last Modified: 2013-11-20
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
0
Comment
Question by:santoshu
1 Comment
 
LVL 3

Accepted Solution

by:
jaba earned 100 total points
ID: 1302824
Yes. its possible. To create OCX containing other OCX yu need to make OCX as "SimpleFrame" and call AfxEnableControlContainer in InitInstance of OCX module
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Define unique primary key 9 95
abstract class with all non abstract mentods 6 80
Unix Command -- Challenging  question 7 96
Authenticate using sesu from script 7 60
Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question