Solved

adding acieveX contol in VC++ applications

Posted on 2001-06-13
5
166 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
Comment Utility
so whta is the problem then?
0
 

Author Comment

by:raqadi
Comment Utility
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
Comment Utility
You will probably have to override the virtual OnDraw() method.
0
 

Author Comment

by:raqadi
Comment Utility
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
Comment Utility
Try to re pain the constituent controls inside your application agian !!
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
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.
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.

762 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

6 Experts available now in Live!

Get 1:1 Help Now