Solved

adding acieveX contol in VC++ applications

Posted on 2001-06-13
5
179 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
In this post we will learn different types of Android Layout and some basics of an Android App.
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.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

691 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