RibbonUI.InvalidateControl of idMso in Office 2007

M

Miles

I've set up a getVisible() callback on (built-in) GroupInsertText, and I get
the initial getVisible() callback. I later do an
InvalidateControl("GroupInsertText"), but never get another getVisible()
callback again for that id.

The same scheme works fine on a custom Group of mine. Is this a limitation
of built-in controls only? I've seen a post wondering the same thing from a
while back on EggheadCafe, but nobody seemed to have an answer. Can anybody
fill me in?
 
C

CoolSanil

Miles said:
I've set up a getVisible() callback on (built-in) GroupInsertText, and I get
the initial getVisible() callback. I later do an
InvalidateControl("GroupInsertText"), but never get another getVisible()
callback again for that id.

The same scheme works fine on a custom Group of mine. Is this a limitation
of built-in controls only? I've seen a post wondering the same thing from a
while back on EggheadCafe, but nobody seemed to have an answer. Can anybody
fill me in?

Hi Miles
You sould get callback without any problem, Actually i am doing the same
thing in which i have to update text in 1 second so in my addin i have timer
and for every one i just invalidate my control. It gets called every time but
rate of invalidation is not so good(though i call invalidate control for 1
second , it seems that it gets called after 2 or 3 seconds). If you want
sample code i can provide you (only C++ )
 

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