S
Simon
Hi,
I am having problems getting an ActiveX control to behave when added as an
msoControlActiveX control to a custom toolbar in a COM addin for office xp.
The control gets created ok, however the toolbar's height grows to be much
bigger than needed. If i explicitly set the controls height using the
CommandBarControl API the height does change, but for all values it gets set
to the same (still way to big) height.
A drag of the mouse when clicking within the toolbar forces a resize of the
toolbar and with enough care one can manually resize the toolbar back down to
its expected size.
Has anyone come across this problem before ? And if so what did they do to
fix it ?
Simon
P.S. The reason I am using an activeX control is to give me the ability of
using a combo box in a toolbar that can be in a different font and colour to
the standard office one. If there is a way of customising the office one to
do this then I would love to here of how to do it.
I am having problems getting an ActiveX control to behave when added as an
msoControlActiveX control to a custom toolbar in a COM addin for office xp.
The control gets created ok, however the toolbar's height grows to be much
bigger than needed. If i explicitly set the controls height using the
CommandBarControl API the height does change, but for all values it gets set
to the same (still way to big) height.
A drag of the mouse when clicking within the toolbar forces a resize of the
toolbar and with enough care one can manually resize the toolbar back down to
its expected size.
Has anyone come across this problem before ? And if so what did they do to
fix it ?
Simon
P.S. The reason I am using an activeX control is to give me the ability of
using a combo box in a toolbar that can be in a different font and colour to
the standard office one. If there is a way of customising the office one to
do this then I would love to here of how to do it.