ActiveX command bar control problem

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.
 
E

Eugene E. Starostin

Hi Simon,

We have been investigating for a long time the possibility of using this
control
and haven't found a way. MS seems not to give a correct interface to use it.

Best regards,
Eugene Starostin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top