From my research in the net I could only find examples for top-level
containers. In the docs there don't seem to be any interfaces I could
implement which tell me when controls are added/removed so I suppose
they are vb-specific.
Does there exist any documentation on interacting with the vb
designer? Are there any examples of ActiveX TabControls, GroupBoxes or
whatever written in C/C++ ? Or do all controls supporting the vb
designer have to be written in vb themselves as UserControls?
Regards,
Tobias Käs
Timo
--
www.TimoSoft-Software.de - Unicode controls for VB6
"Those who sacrifice freedom for safety deserve neither."
"Demokratie ist per Definition unsicher. Ihr Schutz entsteht aus der
Überzeugung, dass die demokratischen Kräfte überwiegen und sich – auf
demokratischem Wege – durchsetzen."
Ah thanks, this does what I need for now.
Out of curiosity, is this the only way to create composite controls
with designer support? The interface name ('simple') suggests there
should be something else. There also seems to be no way to get a list
of child controls like the VB UserControl can do, which would be
necessary for implementing more complicated containers like
TabControls.
No problem, just was curious, simple containers are just fine for me,
thanks for pointing me in the right direction.
By the way, I've found the very well hidden interface IVBGetControl
from vbinterf.h ( http://msdn.microsoft.com/en-us/library/dd542712%28VS.85%29.aspx
) - it's deprecated and does something similar as
IOleContainer::EnumObjects but allows to enumerate children and
siblings instead of just all objects. However in my test application
both interfaces didn't list some controls like labels or buttons so
the interfaces are probably useless for implementations of TabControls
and the like.