>>I have defined an OCX with Visual C++ 5.0. I can add that OCX in a Visual FoxPro form. When I click on properties from it, I can see the design I have done in C++. I can also load that OCX in MSIE. However, I would like to know how to define the main behavior of the OCX. I mean, whenever I add this control in Visual FoxPro or whenever I load it in MSIE, I see the default shape circle control. This is what I am wondering where to go in the C++ project to define the behavior of it at run time.
>
>Does that mean you want it invisible at runtime?
No, I want the OCX to be visile.
Just take the calendar OCX, as an example. When we put that OCX on a form, at design time, we can see the calendar. This is what I am wondering about. In my case, I always have a shape circle. This is what I would like to change. I would like to replace that with another control. At this point, I can only seem to be able to manage the design time property window.