Solved

adding acieveX contol in VC++ applications

Posted on 2001-06-13
5
167 Views
Last Modified: 2013-11-20
Hi
i developed a new control that has a set of instances of other object inside it (such as buttons and labels), i want to use this object in dialog based application on VC++, but when i add it, VC++ shows it to me during design time as white rectangle without any instance inside it, but at run time everything is OK

NOTE:
when i use the same control useing Visual basic , this thing does not exist, it just appear on VC++ design time....
0
Comment
Question by:raqadi
5 Comments
 
LVL 42

Expert Comment

by:sedgwick
ID: 6185303
so whta is the problem then?
0
 

Author Comment

by:raqadi
ID: 6185313
the problem is that i need to see the objects inside the ActiveX control during the design time of the application, as i tell before it apears as a white rectangle without anything inside.
0
 

Expert Comment

by:Nutty104
ID: 6189191
You will probably have to override the virtual OnDraw() method.
0
 

Author Comment

by:raqadi
ID: 6189556
its overrided probably, and the evedince on that it works prbably on VB and VC++ run time.....
0
 

Accepted Solution

by:
raqadi2 earned 150 total points
ID: 6663130
Try to re pain the constituent controls inside your application agian !!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

929 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now