Solved

adding acieveX contol in VC++ applications

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Named range not carried over 10 63
if loop in java 3 142
Hibernate methods 2 71
Annoying "thing" blocks my view 4 100
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…
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.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

778 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