Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Add-Ins / October 2009

Tip: Looking for answers? Try searching our database.

Refesh problem of ribbonX or not?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ryotyankou - 16 Oct 2009 10:41 GMT
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.
Ken Slovak - [MVP - Outlook] - 16 Oct 2009 15:03 GMT
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.

Signature

Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm

>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.
ryotyankou - 19 Oct 2009 02:54 GMT
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?
[quoted text clipped - 7 lines]
>> soon
>> as i click the button.
Ken Slovak - [MVP - Outlook] - 19 Oct 2009 14:47 GMT
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.

Signature

Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm

> 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).
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.