• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 196
  • Last Modified:

adding acieveX contol in VC++ applications

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

when i use the same control useing Visual basic , this thing does not exist, it just appear on VC++ design time....
1 Solution
Meir RivkinFull stack Software EngineerCommented:
so whta is the problem then?
raqadiAuthor Commented:
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.
You will probably have to override the virtual OnDraw() method.
raqadiAuthor Commented:
its overrided probably, and the evedince on that it works prbably on VB and VC++ run time.....
Try to re pain the constituent controls inside your application agian !!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now