Solved

adding acieveX contol in VC++ applications

Posted on 2001-06-13
5
173 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

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: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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…

820 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