Refesh problem of ribbonX or not?

  • Thread starter ryotyankou via OfficeKB.com
  • Start date
R

ryotyankou via OfficeKB.com

I create a commandbar on EXPLORER and the it have a button, the button have
two state icon. Now in any new INSPECTOR also have the same button(Ribbon).
EXPLORER is full screen, and new mail's INSPECTOR is smaller than EXPLORER ,
and i can see the both of the two button. I change the button state icon in
INSPECTOR, and also change the button icon on EXPLORER by code. At this time,
INSPECTOR is the active window, its icon changed quickly, but EXPLORER 's
icon not changed, unless i click the EXPLORER and make its window as active
one, is this a bug of outlook2007? How could i make both icon change as soon
as i click the button.
 
K

Ken Slovak - [MVP - Outlook]

What does this have to do with RibbonX refresh? The Inspector ribbon control
is updating, isn't it?

For the Explorer, activate it, update it and then deactivate it. Otherwise
wait for it to be activated for the refresh to occur.
 
R

ryotyankou via OfficeKB.com

It seems that this is just the working way for ribbon. Right? But in
outlook2003, the button icon change as soon as i make some change on it by
code.(yeah, i want it to change).
What does this have to do with RibbonX refresh? The Inspector ribbon control
is updating, isn't it?

For the Explorer, activate it, update it and then deactivate it. Otherwise
wait for it to be activated for the refresh to occur.
I create a commandbar on EXPLORER and the it have a button, the button have
two state icon. Now in any new INSPECTOR also have the same
[quoted text clipped - 11 lines]
soon
as i click the button.
 
K

Ken Slovak - [MVP - Outlook]

Are you calling Invalidate or specifically invalidating that control? If you
are then that's just the way things work with the ribbon. Personally I find
a lot of limitations in programming and working with the ribbon and don't
find it a very satisfactory way to do things. But since it's not up to me I
have to live with it.
 

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