Link to home
Start Free TrialLog in
Avatar of raqadi
raqadi

asked on

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....
Avatar of Meir Rivkin
Meir Rivkin
Flag of Israel image

so whta is the problem then?
Avatar of raqadi
raqadi

ASKER

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.
Avatar of raqadi

ASKER

its overrided probably, and the evedince on that it works prbably on VB and VC++ run time.....
ASKER CERTIFIED SOLUTION
Avatar of raqadi2
raqadi2

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial