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

adding acieveX contol in VC++ applications

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
raqadi
Asked:
raqadi
1 Solution
 
Meir RivkinFull stack Software EngineerCommented:
so whta is the problem then?
0
 
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.
0
 
Nutty104Commented:
You will probably have to override the virtual OnDraw() method.
0
 
raqadiAuthor Commented:
its overrided probably, and the evedince on that it works prbably on VB and VC++ run time.....
0
 
raqadi2Commented:
Try to re pain the constituent controls inside your application agian !!
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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.

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